summaryrefslogtreecommitdiff
path: root/src/port/syswrap.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2015-05-16 00:10:03 -0400
committerBruce Momjian <bruce@momjian.us>2015-05-16 00:10:03 -0400
commit4cfba536981e7584bd051de3e1bcbe7e36a9605b (patch)
treeb12b05df73432e19f7622b29fae0fc07b072d0f5 /src/port/syswrap.c
parent4fd69e41247a6052f1ebb44a2c6fafacbb4a8898 (diff)
pg_upgrade: only allow template0 to be non-connectable
This patch causes pg_upgrade to error out during its check phase if: (1) template0 is marked connectable or (2) any other database is marked non-connectable This is done because, in the first case, pg_upgrade would fail because the pg_dumpall --globals restore would fail, and in the second case, the database would not be restored, leading to data loss. Report by Matt Landry (1), Stephen Frost (2) Backpatch through 9.0
Diffstat (limited to 'src/port/syswrap.c')
0 files changed, 0 insertions, 0 deletions