Re: Test to dump and restore objects left behind by regression
Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
From: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Peter Eisentraut <peter@eisentraut.org>,
Daniel Gustafsson <daniel@yesql.se>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>,
Tom Lane <tgl@sss.pgh.pa.us>, Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2024-07-12T05:12:35Z
Lists: pgsql-hackers
Attachments
- 0001-Test-pg_dump-restore-of-regression-objects-20240712.patch (text/x-patch) patch 0001
On Tue, Jul 9, 2024 at 1:07 PM Michael Paquier <michael@paquier.xyz> wrote: > > On Mon, Jul 08, 2024 at 03:59:30PM +0530, Ashutosh Bapat wrote: > > Before submitting the patch, I looked for all the places which mention > > AdjustUpgrade or AdjustUpgrade.pm to find places where the new module needs > > to be mentioned. But I didn't find any. AdjustUpgrade is not mentioned > > in src/test/perl/Makefile or src/test/perl/meson.build. Do we want to also > > add AdjustUpgrade.pm in those files? > > Good question. This has not been mentioned on the thread that added > the module: > https://www.postgresql.org/message-id/891521.1673657296%40sss.pgh.pa.us > > And I could see it as being useful if installed. The same applies to > Kerberos.pm, actually. I'll ping that on a new thread. For now, it may be better to maintain status-quo. If we see a need to use these modules in future by say extensions or tests outside core tree, we will add them to meson and make files. > > > We could forget 0002. I am fine with that. But I can change the code such > > that formats other than "plain" are tested when PG_TEST_EXTRAS contains > > "regress_dump_formats". Would that be acceptable? > > Interesting idea. That may be acceptable, under the same arguments as > the xid_wraparound one. Done. Added a new entry in PG_TEST_EXTRA documentation. I have merged the two patches now. -- Best Wishes, Ashutosh Bapat
Commits
-
Hide expensive pg_upgrade test behind PG_TEST_EXTRA
- d185161e4739 18.0 landed
- 37fc1803cc12 19 (unreleased) landed
-
Set log_statement=none in t/002_pg_upgrade.pl
- 64fba9c61787 18.0 landed
-
002_pg_upgrade.pl: Move pg_dump test code for better stability
- 8806e4e8deb1 18.0 landed
-
002_pg_upgrade.pl: rename some variables for clarity
- abe56227b2e2 18.0 landed
-
Verify roundtrip dump/restore of regression database
- 172259afb563 18.0 landed
-
Refactor TAP test code for file comparisons into new routine in Utils.pm
- 169208092f5c 18.0 landed
-
Virtual generated columns
- 83ea6c54025b 18.0 cited
-
Put generated_stored test objects in a schema
- 894be11adfa6 18.0 cited
-
Introduce "builtin" collation provider.
- 2d819a08a1cb 17.0 cited
-
Revert "Improve compression and storage support with inheritance"
- 74563f6b9021 17.0 cited