Project

General

Profile

« Previous | Next » 

Revision 12846

fix: lib/sh/db.sh: pg_cmd(): hide PGPASSWORD at the normal verbosity so that the value of it doesn't appear in any log files

View differences:

db.sh
256 256
	log- 2
257 257
	if test "$server";   then local PGHOST="$server";       export PGHOST; fi
258 258
	if test "$user";     then local PGUSER="$user";         export PGUSER; fi
259
	if test "$password"; then local PGPASSWORD="$password"; export PGPASSWORD;fi
259
	if test "$password"; then local PGPASSWORD="$password"; log++ export PGPASSWORD;fi
260 260
	if test "$database"; then local PGDATABASE="$database"; export PGDATABASE;fi
261 261
	log+ 2
262 262
	

Also available in: Unified diff