Create common infrastructure for cross-version upgrade testing.
commit : bfa3d27906646f39599901891a237a736191ffc9
author : Tom Lane <tgl@sss.pgh.pa.us>
date : Mon, 16 Jan 2023 20:35:53 -0500
committer: Tom Lane <tgl@sss.pgh.pa.us>
date : Mon, 16 Jan 2023 20:35:53 -0500
Click here for diff
To test pg_upgrade across major PG versions, we have to be able to
modify or drop any old objects with no-longer-supported properties,
and we have to be able to deal with cosmetic changes in pg_dump output.
Up to now, the buildfarm and pg_upgrade's own test infrastructure had
separate implementations of the former, and we had nothing but very
ad-hoc rules for the latter (including an arbitrary threshold on how
many lines of unchecked diff were okay!). This patch creates a Perl
module that can be shared by both those use-cases, and adds logic
that deals with pg_dump output diffs in a much more tightly defined
fashion.
This largely supersedes previous efforts in commits 0df9641d3,
9814ff550, and 62be9e4cd, which developed a SQL-script-based solution
for the task of dropping old objects. There was nothing fundamentally
wrong with that work in itself, but it had no basis for solving the
output-formatting problem. The most plausible way to deal with
formatting is to build a Perl module that can perform editing on the
dump files; and once we commit to that, it makes more sense for the
same module to also embed the knowledge of what has to be done for
dropping old objects.
Back-patch versions of the helper module as far as 9.2, to
support buildfarm animals that still test that far back.
It's also necessary to back-patch PostgreSQL/Version.pm,
because the new code depends on that. I fixed up pg_upgrade's
002_pg_upgrade.pl in v15, but did not look into back-patching
it further than that.
Tom Lane and Andrew Dunstan
Discussion: https://postgr.es/m/891521.1673657296@sss.pgh.pa.us
A src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm
A src/test/perl/PostgreSQL/Version.pm
Create common infrastructure for cross-version upgrade testing.
commit : 3911fd55f53a930fcca6bc4889209021cc50ec2f
author : Tom Lane <tgl@sss.pgh.pa.us>
date : Mon, 16 Jan 2023 20:35:53 -0500
committer: Tom Lane <tgl@sss.pgh.pa.us>
date : Mon, 16 Jan 2023 20:35:53 -0500
Click here for diff
To test pg_upgrade across major PG versions, we have to be able to
modify or drop any old objects with no-longer-supported properties,
and we have to be able to deal with cosmetic changes in pg_dump output.
Up to now, the buildfarm and pg_upgrade's own test infrastructure had
separate implementations of the former, and we had nothing but very
ad-hoc rules for the latter (including an arbitrary threshold on how
many lines of unchecked diff were okay!). This patch creates a Perl
module that can be shared by both those use-cases, and adds logic
that deals with pg_dump output diffs in a much more tightly defined
fashion.
This largely supersedes previous efforts in commits 0df9641d3,
9814ff550, and 62be9e4cd, which developed a SQL-script-based solution
for the task of dropping old objects. There was nothing fundamentally
wrong with that work in itself, but it had no basis for solving the
output-formatting problem. The most plausible way to deal with
formatting is to build a Perl module that can perform editing on the
dump files; and once we commit to that, it makes more sense for the
same module to also embed the knowledge of what has to be done for
dropping old objects.
Back-patch versions of the helper module as far as 9.2, to
support buildfarm animals that still test that far back.
It's also necessary to back-patch PostgreSQL/Version.pm,
because the new code depends on that. I fixed up pg_upgrade's
002_pg_upgrade.pl in v15, but did not look into back-patching
it further than that.
Tom Lane and Andrew Dunstan
Discussion: https://postgr.es/m/891521.1673657296@sss.pgh.pa.us
A src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm
A src/test/perl/PostgreSQL/Version.pm
v2.43: Bug Fix
commit : cc2ffd8264bb4e10e6b289ce3978452018f725e8
author : David Steele <david@pgmasters.net>
date : Mon, 28 Nov 2022 17:47:48 +0800
committer: David Steele <david@pgmasters.net>
date : Mon, 28 Nov 2022 17:47:48 +0800
Click here for diff
Bug Fixes:
* Fix missing reference in diff/incr backup. (Reviewed by Stefan Fercot. Reported by Marcel Borger, ulfedf, jaymefSO.)
Improvements:
* Add hint when an option is specified without an index. (Reviewed by Stefan Fercot.)
M CONTRIBUTING.md
M README.md
M doc/resource/exe.cache
M doc/resource/git-history.cache
M doc/xml/auto/metric-coverage-report.auto.xml
M doc/xml/release.xml
M meson.build
M src/build/configure.ac
M src/configure
M src/version.h
v2.42: Bug Fixes
commit : 70b75532bf20a025323b2a3138497ef01eb1774f
author : David Steele <david@pgmasters.net>
date : Tue, 22 Nov 2022 10:20:59 +0800
committer: David Steele <david@pgmasters.net>
date : Tue, 22 Nov 2022 10:20:59 +0800
Click here for diff
Bug Fixes:
* Fix memory leak in file bundle backup/restore. (Reviewed by John Morris, Oscar. Reported by Oscar.)
* Fix protocol error on short read of remote file. (Reviewed by Stephen Frost.)
Improvements:
* Do not store references for zero-length files when bundling. (Reviewed by Stefan Fercot.)
* Use more generic descriptions for pg_start_backup()/pg_stop_backup(). (Reviewed by Greg Sabino Mullane, David Christensen. Suggested by Greg Sabino Mullane.)
Test Suite Improvements:
* Update test.pl --psql-bin option to match command-line help. (Contributed by Koshi Shibagaki. Reviewed by David Steele.)
M CONTRIBUTING.md
M README.md
M doc/resource/exe.cache
M doc/resource/git-history.cache
M doc/xml/auto/metric-coverage-report.auto.xml
M doc/xml/release.xml
M meson.build
M src/build/configure.ac
M src/configure
M src/version.h
M test/src/module/command/backupTest.c
Stamp 10.23.
commit : 02991e79f8f58bc208f05dcc8af0c62dbe0a6ea4
author : Tom Lane <tgl@sss.pgh.pa.us>
date : Mon, 7 Nov 2022 16:51:10 -0500
committer: Tom Lane <tgl@sss.pgh.pa.us>
date : Mon, 7 Nov 2022 16:51:10 -0500
Click here for diff
M configure
M configure.in
M doc/bug.template
M src/include/pg_config.h.win32
M src/interfaces/libpq/libpq.rc.in
M src/port/win32ver.rc
Translation updates
commit : d26829e3f76ac58872bd57374cce6bd41d1e40cf
author : Peter Eisentraut <peter@eisentraut.org>
date : Mon, 7 Nov 2022 13:50:33 +0100
committer: Peter Eisentraut <peter@eisentraut.org>
date : Mon, 7 Nov 2022 13:50:33 +0100
Click here for diff
Stamp 11.18.
commit : eb3ff8600bd313071838ab376dd5c35524937242
author : Tom Lane <tgl@sss.pgh.pa.us>
date : Mon, 7 Nov 2022 16:49:11 -0500
committer: Tom Lane <tgl@sss.pgh.pa.us>
date : Mon, 7 Nov 2022 16:49:11 -0500
Click here for diff
M configure
M configure.in
M doc/bug.template
M src/include/pg_config.h.win32
M src/interfaces/libpq/libpq.rc.in
M src/port/win32ver.rc
Translation updates
commit : 953a0346f43cbd69bef85513765d7cc621ac81e7
author : Peter Eisentraut <peter@eisentraut.org>
date : Mon, 7 Nov 2022 13:52:22 +0100
committer: Peter Eisentraut <peter@eisentraut.org>
date : Mon, 7 Nov 2022 13:52:22 +0100
Click here for diff
Stamp 12.13.
commit : 26b9b5dddfa21ce73d9b99e79e2336c5584745bd
author : Tom Lane <tgl@sss.pgh.pa.us>
date : Mon, 7 Nov 2022 16:47:13 -0500
committer: Tom Lane <tgl@sss.pgh.pa.us>
date : Mon, 7 Nov 2022 16:47:13 -0500
Click here for diff
M configure
M configure.in
M src/include/pg_config.h.win32
M src/interfaces/libpq/libpq.rc.in
M src/port/win32ver.rc
Translation updates
commit : 81b2ffdb32385366aa45b13e669b7d1291770af0
author : Peter Eisentraut <peter@eisentraut.org>
date : Mon, 7 Nov 2022 13:55:08 +0100
committer: Peter Eisentraut <peter@eisentraut.org>
date : Mon, 7 Nov 2022 13:55:08 +0100
Click here for diff
Stamp 13.9.
commit : b664e3552b800b480e2b4fadd847f8b312e00642
author : Tom Lane <tgl@sss.pgh.pa.us>
date : Mon, 7 Nov 2022 16:45:38 -0500
committer: Tom Lane <tgl@sss.pgh.pa.us>
date : Mon, 7 Nov 2022 16:45:38 -0500
Click here for diff
M configure
M configure.in
Translation updates
commit : 5680c5de322de1d7c0a7c657231bc252e5c471ef
author : Peter Eisentraut <peter@eisentraut.org>
date : Mon, 7 Nov 2022 13:57:17 +0100
committer: Peter Eisentraut <peter@eisentraut.org>
date : Mon, 7 Nov 2022 13:57:17 +0100
Click here for diff
Stamp 14.6.
commit : 6dde6ed3efb4baaa0955f78ba5c93e9490aaa490
author : Tom Lane <tgl@sss.pgh.pa.us>
date : Mon, 7 Nov 2022 16:38:53 -0500
committer: Tom Lane <tgl@sss.pgh.pa.us>
date : Mon, 7 Nov 2022 16:38:53 -0500
Click here for diff
M configure
M configure.ac
Translation updates
commit : 9c5cbed95e3761d36c1b8cdf89cb1e1f1a8aca9a
author : Peter Eisentraut <peter@eisentraut.org>
date : Mon, 7 Nov 2022 13:59:56 +0100
committer: Peter Eisentraut <peter@eisentraut.org>
date : Mon, 7 Nov 2022 13:59:56 +0100
Click here for diff
Stamp 15.1.
commit : c5dc80c1bc216f0e21a2f79f5e0415c2d4cfb35d
author : Tom Lane <tgl@sss.pgh.pa.us>
date : Mon, 7 Nov 2022 16:36:53 -0500
committer: Tom Lane <tgl@sss.pgh.pa.us>
date : Mon, 7 Nov 2022 16:36:53 -0500
Click here for diff
M configure
M configure.ac
Translation updates
commit : 0bc9872b1106fa5cdd488bc0ddafb270b2e7540a
author : Alvaro Herrera <alvherre@alvh.no-ip.org>
date : Mon, 7 Nov 2022 19:21:03 +0100
committer: Alvaro Herrera <alvherre@alvh.no-ip.org>
date : Mon, 7 Nov 2022 19:21:03 +0100
Click here for diff