Project

General

Profile

« Previous | Next » 

Revision 8806

bugfix: lib/util.sh: pg_header (): use limit=0 to prevent COPY TO from returning all rows in the table (not an issue for empty tables!)

View differences:

lib/util.sh
176 176
pg_header ()
177 177
{
178 178
	echo_func "$@"
179
	local pg_copy_format="CSV HEADER"
179
	local pg_copy_format="CSV HEADER" limit=0
180 180
	pg_copy_to|echo_stdin
181 181
}
182 182

  

Also available in: Unified diff