Project

General

Profile

« Previous | Next » 

Revision 9479

lib/sh/local.sh: psql(): documented that --output is actually for query results, not echoed statements (and thus must be redirected back to fd 1 while fd 1 with the statements gets sent to the logging port)

View differences:

lib/sh/local.sh
58 58
EOF
59 59
	cat)|cmd_log_fd=1 \
60 60
	env no_search_path=1 "$psql_cmd" --output /dev/fd/13 "$@"
61
		# --output is for query *results*, not echoed statements
61 62
}
62 63

  
63 64
public_schema_exists() { psql_script_vegbien </dev/null 2>/dev/null; }

Also available in: Unified diff