pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix brown paper bag bug in bbe08b8869bd29d587f24ef18eb45c7d4d14a 2+ messages / 1 participants [nested] [flat]
* pgsql: Fix brown paper bag bug in bbe08b8869bd29d587f24ef18eb45c7d4d14a @ 2022-07-29 21:13 Robert Haas <rhaas@postgresql.org> 0 siblings, 0 replies; 2+ messages in thread From: Robert Haas @ 2022-07-29 21:13 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix brown paper bag bug in bbe08b8869bd29d587f24ef18eb45c7d4d14afca. We must issue the TRUNCATE command first and update relfrozenxid and relminmxid afterward; otherwise, TRUNCATE overwrites the previously-set values. Add a test case like I should have done the first time. Per buildfarm report from TestUpgradeXversion.pm, by way of Tom Lane. Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/43746996399541ecb5c7b188725a5f097c15ceae Modified Files -------------- src/bin/pg_dump/pg_dump.c | 18 ++++++------- src/bin/pg_upgrade/t/002_pg_upgrade.pl | 46 ++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+), 9 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Fix brown paper bag bug in bbe08b8869bd29d587f24ef18eb45c7d4d14a @ 2022-07-29 21:13 Robert Haas <rhaas@postgresql.org> 0 siblings, 0 replies; 2+ messages in thread From: Robert Haas @ 2022-07-29 21:13 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix brown paper bag bug in bbe08b8869bd29d587f24ef18eb45c7d4d14afca. We must issue the TRUNCATE command first and update relfrozenxid and relminmxid afterward; otherwise, TRUNCATE overwrites the previously-set values. Add a test case like I should have done the first time. Per buildfarm report from TestUpgradeXversion.pm, by way of Tom Lane. Branch ------ REL_15_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/5c9ea19b79d0a65f1fb21e87995ae32e1b10de8a Modified Files -------------- src/bin/pg_dump/pg_dump.c | 18 ++++++------- src/bin/pg_upgrade/t/002_pg_upgrade.pl | 46 ++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+), 9 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2022-07-29 21:13 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2022-07-29 21:13 pgsql: Fix brown paper bag bug in bbe08b8869bd29d587f24ef18eb45c7d4d14a Robert Haas <rhaas@postgresql.org> 2022-07-29 21:13 pgsql: Fix brown paper bag bug in bbe08b8869bd29d587f24ef18eb45c7d4d14a Robert Haas <rhaas@postgresql.org>
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