git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 0ad41cf) | patch
Re-add default_with_oids GUC to avoid breaking old dump files.
2019年1月14日 23:30:24 +0000 (15:30 -0800)
2019年1月14日 23:30:24 +0000 (15:30 -0800)
commit de66987adb8a3414724b99540d324407bfad697a
Re-add default_with_oids GUC to avoid breaking old dump files.

After 578b229718 / the removal of WITH OIDS support, older dump files
containing
SET default_with_oids = false;
either report unnecessary errors (as the subsequent tables have no
oids) or even fail to restore entirely (when using transaction mode).
To avoid that, re-add the GUC, but don't allow setting it to true.

Per complaint from Tom Lane.

Author: Amit Khandekar, editorialized by me
Discussion: https://postgr.es/m/CAJ3gD9dZyxrtL0rJfoNoOj6v7fJSDaXBngi9wy5XU8m-ioXhAA@mail.gmail.com
src/backend/utils/misc/guc.c diff | blob | blame | history
src/test/regress/expected/guc.out diff | blob | blame | history
src/test/regress/sql/guc.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /