postgresql/src
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
..
backend Fix tar files emitted by pg_basebackup to be POSIX conformant. 2012-09-28 15:35:46 -04:00
bin Fix bugs in "restore.sql" script emitted in pg_dump tar output. 2012-09-29 17:56:45 -04:00
include Fix btmarkpos/btrestrpos to handle array keys. 2012-09-27 17:01:15 -04:00
interfaces Stamp 9.2.1. 2012-09-19 17:47:58 -04:00
makefiles Remove BSD/OS (BSDi) port. There are no known users upgrading to 2012-05-03 10:58:44 -04:00
pl Back-patch fix and test case for bug #7516. 2012-09-14 11:50:02 -04:00
port Stamp 9.2.1. 2012-09-19 17:47:58 -04:00
template Remove BSD/OS (BSDi) port. There are no known users upgrading to 2012-05-03 10:58:44 -04:00
test Fix planning of btree index scans using ScalarArrayOpExpr quals. 2012-09-18 12:20:43 -04:00
timezone Update time zone data files to tzdata release 2012f. 2012-09-19 10:45:03 -04:00
tools Add vcregress.pl target for checking pg_upgrade. 2012-09-10 12:51:24 -04:00
tutorial Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
bcc32.mak Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Fix some oversights in distprep and maintainer-clean targets. 2011-03-10 00:04:05 -05:00
Makefile.global.in Fix pg_config.h make rule 2012-05-07 21:28:38 +03:00
Makefile.shlib Remove BSD/OS (BSDi) port. There are no known users upgrading to 2012-05-03 10:58:44 -04:00
nls-global.mk Lots of doc corrections. 2012-04-23 22:43:09 -04:00
win32.mak Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00