diff options
author | Andres Freund <andres@anarazel.de> | 2019-01-14 15:30:24 -0800 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2019-01-14 15:30:24 -0800 |
commit | de66987adb8a3414724b99540d324407bfad697a (patch) | |
tree | 6f4ea8215c073e99ec37e89bad112e05aa1be9b7 /contrib/postgres_fdw/postgres_fdw.c | |
parent | 0ad41cf537ea5f076273fcffa4c83a184bd9910f (diff) | |
download | postgresql-de66987adb8a3414724b99540d324407bfad697a.tar.gz postgresql-de66987adb8a3414724b99540d324407bfad697a.zip |
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
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions