Revision 13283
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/lib/sh/db.sh | ||
---|---|---|
309 | 309 |
echo "SET client_min_messages = \ |
310 | 310 |
$(if test "$verbose_"; then echo NOTICE; else echo WARNING; fi);" |
311 | 311 |
cat |
312 |
)|cmd_log_fd=${can_redir:+1} pg_cmd --file /dev/fd/40 \
|
|
312 |
)|cmd_log_fd=${can_redir:+1} pg_cmd ${can_redir:+--file /dev/fd/40 }\
|
|
313 | 313 |
${data2stdout:+--output /dev/fd/41 }--set ON_ERROR_STOP=1 --quiet "$@"\ |
314 | 314 |
|| verbosity_min=2 die_error_hidden |
315 | 315 |
# --output is for query *results*, not echoed statements |
Also available in: Unified diff
bugfix: lib/sh/db.sh: psql(): don't use `--file /dev/fd/40` when can't redirect