Revision 9476
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/sh/db.sh | ||
---|---|---|
206 | 206 |
{ |
207 | 207 |
echo_func |
208 | 208 |
local table="$1"; shift; mk_table_esc |
209 |
local cols="$(pg_header)" |
|
210 |
stdout="$exports_dir/$table.no_header.cols=$cols.csv" to_file \ |
|
209 |
stdout="$exports_dir/$table.no_header.cols=$(pg_header).csv" to_file \ |
|
211 | 210 |
pg_export_table_no_header "$@" |
212 | 211 |
} |
213 | 212 |
|
Also available in: Unified diff
bugfix: lib/sh/db.sh: pg_export_table_to_dir_no_header(): inlined $(pg_header) so setting $cols wouldn't affect pg_export_table_no_header(), which uses it as a kw param