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: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Michael Paquier <michael@paquier.xyz>, vignesh C <vignesh21@gmail.com>, Daniel Gustafsson <daniel@yesql.se>, Peter Eisentraut <peter@eisentraut.org>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-03-31T11:54:03Z
Lists: pgsql-hackers
Attachments
- 0002-Use-only-one-format-and-make-the-test-run-d-20250331.patch (text/x-patch) patch 0002
- 0001-Test-pg_dump-restore-of-regression-objects-20250331.patch (text/x-patch) patch 0001
On Mon, Mar 31, 2025 at 5:07 PM Ashutosh Bapat <ashutosh.bapat.oss@gmail.com> wrote: > The bug related to materialized views has been fixed and now the test passes even if we compare statistics from dumped and restored databases. Hence removing 0003. In the attached patchset I have also addressed Vignesh's below comment On Thu, Mar 27, 2025 at 10:01 PM Ashutosh Bapat <ashutosh.bapat.oss@gmail.com> wrote: > > On Thu, Mar 27, 2025 at 6:01 PM vignesh C <vignesh21@gmail.com> wrote: > > > > 2) Should "`" be ' or " here, we generally use "`" to enclose commands: > > +# It is expected that regression tests, which create `regression` database, are > > +# run on `src_node`, which in turn, is left in running state. A fresh node is > > +# created using given `node_params`, which are expected to be the > > same ones used > > +# to create `src_node`, so as to avoid any differences in the databases. > > Looking at prologues or some other functions, I see that we don't add > any decoration around the name of the argument. Hence dropped `` > altogether. Will post it with the next set of patches. -- 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