postgresql/src
Peter Eisentraut 6178f3cb79 pg_dump: Fix dumping of WITH OIDS tables
A table with OIDs that was the first in the dump output would not get
dumped with OIDs enabled.  Fix that.

The reason was that the currWithOids flag was declared to be bool but
actually also takes a -1 value for "don't know yet".  But under
stdbool.h semantics, that is coerced to true, so the required SET
default_with_oids command is not output again.  Change the variable
type to char to fix that.

Reported-by: Derek Nelson <derek@pipelinedb.com>
2018-11-13 09:41:20 +01:00
..
backend Fix const correctness warning. 2018-11-13 19:03:02 +13:00
bin pg_dump: Fix dumping of WITH OIDS tables 2018-11-13 09:41:20 +01:00
common Make spelling of "acknowledgment" consistent 2018-10-15 10:06:45 +02:00
fe_utils
include Fix missing role dependencies for some schema and type ACLs. 2018-11-09 20:42:14 -05:00
interfaces Fix spelling errors and typos in comments 2018-11-02 13:56:52 +01:00
makefiles
pl Fix error-cleanup mistakes in exec_stmt_call(). 2018-11-09 22:04:14 -05:00
port Disable MSVC warning caused by recent snprintf.c changes 2018-11-10 20:20:54 -05:00
template Yet further rethinking of build changes for macOS Mojave. 2018-11-02 18:54:00 -04:00
test Fix handling of HBA ldapserver with multiple hostnames. 2018-11-13 17:46:28 +13:00
timezone Sync our copy of the timezone library with IANA release tzcode2018g. 2018-10-31 09:47:53 -04:00
tools Adjust valgrind fix in commit 517b0d0b5f 2018-11-08 08:38:46 -05:00
tutorial
.gitignore
DEVELOPERS
Makefile
Makefile.global.in Remove useless symbol from Makefile.global. 2018-11-06 10:57:51 -05:00
Makefile.shlib Don't build static libraries on Cygwin 2018-10-02 16:46:57 -04:00
nls-global.mk