aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonfuncs.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
commitfb694d959c97c912b49ec47326e6a05a8c0da11d (patch)
tree28e40adf6414969fe7d2109cbf0122cfb3538fb6 /src/backend/utils/adt/jsonfuncs.c
parent12cc299c65ba6124c7d459f2605404ad43909db3 (diff)
downloadpostgresql-fb694d959c97c912b49ec47326e6a05a8c0da11d.tar.gz
postgresql-fb694d959c97c912b49ec47326e6a05a8c0da11d.zip
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/backend/utils/adt/jsonfuncs.c')
0 files changed, 0 insertions, 0 deletions