pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: pg_upgrade: only allow template0 to be non-connectable 6+ messages / 1 participants [nested] [flat]
* pgsql: pg_upgrade: only allow template0 to be non-connectable @ 2015-05-16 04:10 Bruce Momjian <bruce@momjian.us> 0 siblings, 0 replies; 6+ messages in thread From: Bruce Momjian @ 2015-05-16 04:10 UTC (permalink / raw) To: pgsql-committers 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 Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/fb694d959c97c912b49ec47326e6a05a8c0da11d Modified Files -------------- src/bin/pg_upgrade/check.c | 54 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: pg_upgrade: only allow template0 to be non-connectable @ 2015-05-16 04:10 Bruce Momjian <bruce@momjian.us> 0 siblings, 0 replies; 6+ messages in thread From: Bruce Momjian @ 2015-05-16 04:10 UTC (permalink / raw) To: pgsql-committers 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 Branch ------ REL9_4_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/31f5d3f3544f76892febccb4c2840ada9e765597 Modified Files -------------- contrib/pg_upgrade/check.c | 54 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: pg_upgrade: only allow template0 to be non-connectable @ 2015-05-16 04:10 Bruce Momjian <bruce@momjian.us> 0 siblings, 0 replies; 6+ messages in thread From: Bruce Momjian @ 2015-05-16 04:10 UTC (permalink / raw) To: pgsql-committers 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 Branch ------ REL9_3_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/4cfba536981e7584bd051de3e1bcbe7e36a9605b Modified Files -------------- contrib/pg_upgrade/check.c | 54 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: pg_upgrade: only allow template0 to be non-connectable @ 2015-05-16 04:10 Bruce Momjian <bruce@momjian.us> 0 siblings, 0 replies; 6+ messages in thread From: Bruce Momjian @ 2015-05-16 04:10 UTC (permalink / raw) To: pgsql-committers 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 Branch ------ REL9_2_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/2a55e713431abf688e656144a4babc6ee5563ffb Modified Files -------------- contrib/pg_upgrade/check.c | 54 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: pg_upgrade: only allow template0 to be non-connectable @ 2015-05-16 04:10 Bruce Momjian <bruce@momjian.us> 0 siblings, 0 replies; 6+ messages in thread From: Bruce Momjian @ 2015-05-16 04:10 UTC (permalink / raw) To: pgsql-committers 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 Branch ------ REL9_1_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/321db71239cb45ed2f2d3113ff5745757a64581a Modified Files -------------- contrib/pg_upgrade/check.c | 54 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: pg_upgrade: only allow template0 to be non-connectable @ 2015-05-16 04:10 Bruce Momjian <bruce@momjian.us> 0 siblings, 0 replies; 6+ messages in thread From: Bruce Momjian @ 2015-05-16 04:10 UTC (permalink / raw) To: pgsql-committers 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 Branch ------ REL9_0_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/2194aa92b7a65561c109875d8b904198c3cd0743 Modified Files -------------- contrib/pg_upgrade/check.c | 54 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2015-05-16 04:10 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2015-05-16 04:10 pgsql: pg_upgrade: only allow template0 to be non-connectable Bruce Momjian <bruce@momjian.us> 2015-05-16 04:10 pgsql: pg_upgrade: only allow template0 to be non-connectable Bruce Momjian <bruce@momjian.us> 2015-05-16 04:10 pgsql: pg_upgrade: only allow template0 to be non-connectable Bruce Momjian <bruce@momjian.us> 2015-05-16 04:10 pgsql: pg_upgrade: only allow template0 to be non-connectable Bruce Momjian <bruce@momjian.us> 2015-05-16 04:10 pgsql: pg_upgrade: only allow template0 to be non-connectable Bruce Momjian <bruce@momjian.us> 2015-05-16 04:10 pgsql: pg_upgrade: only allow template0 to be non-connectable Bruce Momjian <bruce@momjian.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox