https://github.com/postgres/postgres
Revision e69b532be797b3fac87a34be71fc97959f8a02aa authored by Tom Lane on 17 November 2016, 19:59:26 UTC, committed by Tom Lane on 17 November 2016, 19:59:26 UTC
Teach it not to complain if the dropStmt attached to an archive entry
is actually spelled CREATE OR REPLACE VIEW, since that will happen due to
an upcoming bug fix.  Also, if it doesn't recognize a dropStmt, have it
print a WARNING and then emit the dropStmt unmodified.  That seems like a
much saner behavior than Assert'ing or dumping core due to a null-pointer
dereference, which is what would happen before :-(.

Back-patch to 9.4 where this option was introduced.

Discussion: <19092.1479325184@sss.pgh.pa.us>
1 parent 30e3cb3
History
Tip revision: e69b532be797b3fac87a34be71fc97959f8a02aa authored by Tom Lane on 17 November 2016, 19:59:26 UTC
Improve pg_dump/pg_restore --create --if-exists logic.
Tip revision: e69b532
File Mode Size
config
contrib
doc
src
.dir-locals.el -rw-r--r-- 700 bytes
.gitattributes -rw-r--r-- 1.7 KB
.gitignore -rw-r--r-- 394 bytes
COPYRIGHT -rw-r--r-- 1.2 KB
GNUmakefile.in -rw-r--r-- 3.5 KB
HISTORY -rw-r--r-- 283 bytes
Makefile -rw-r--r-- 1.5 KB
README -rw-r--r-- 1.2 KB
README.git -rw-r--r-- 727 bytes
aclocal.m4 -rw-r--r-- 385 bytes
configure -rwxr-xr-x 438.1 KB
configure.in -rw-r--r-- 67.5 KB

README

back to top