Revision 9478
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/sh/local.sh | ||
---|---|---|
46 | 46 |
mk_table_esc |
47 | 47 |
|
48 | 48 |
local psql_cmd="psql_$(if can_log; then echo verbose; else echo script; fi)_vegbien" |
49 |
local redirs=("${redirs[@]}" '13>&1') |
|
49 |
local redirs=("${redirs[@]}" '13>&1') # not 11 because it gives a |
|
50 |
# "/dev/fd/11: Bad file descriptor" error when 11 is set with exec |
|
51 |
# right before the command instead of on the subshell it's executed in |
|
50 | 52 |
(cat <<EOF |
51 | 53 |
\cd $dir |
52 | 54 |
\set schema $schema_esc |
Also available in: Unified diff
lib/sh/local.sh: psql(): documented why can't use fd 11