postgresql/src/bin
Tom Lane fab2ae0ec9 Fix bugs in "restore.sql" script emitted in pg_dump tar output.
The tar output module did some very ugly and ultimately incorrect hacking
on COPY commands to try to get them to work in the context of restoring a
deconstructed tar archive.  In particular, it would fail altogether for
table names containing any upper-case characters, since it smashed the
command string to lower-case before modifying it (and, just to add insult
to injury, did that in a way that would fail in multibyte encodings).
I don't see any particular value in being flexible about the case of the
command keywords, since the string will just have been created by
dumpTableData, so let's get rid of the whole case-folding thing.

Also, it doesn't seem to meet the POLA for the script to restore data only
in COPY mode, so add \i commands to make it have comparable behavior in
--inserts mode.

Noted while looking at the tar-output code in connection with Brian
Weaver's patch.
2012-09-29 17:56:45 -04:00
..
initdb Fix "too many arguments" messages not to index off the end of argv[]. 2012-09-06 15:52:19 -04:00
pg_basebackup Translation updates 2012-09-06 00:52:38 -04:00
pg_config Translation updates 2012-08-23 21:24:06 -04:00
pg_controldata Translation updates 2012-09-06 00:52:38 -04:00
pg_ctl Translation updates 2012-09-06 00:52:38 -04:00
pg_dump Fix bugs in "restore.sql" script emitted in pg_dump tar output. 2012-09-29 17:56:45 -04:00
pg_resetxlog Translation updates 2012-09-06 00:52:38 -04:00
pgevent Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
psql Translation updates 2012-09-06 00:52:38 -04:00
scripts Translation updates 2012-09-19 00:03:00 -04:00
Makefile Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00