Re: Combine pg_walinspect till_end_of_wal functions with others
Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
From: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Andres Freund <andres@anarazel.de>, Jeff Davis <pgsql@j-davis.com>, Julien Rouhaud <rjuju123@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2023-03-16T07:47:59Z
Lists: pgsql-hackers
Attachments
- v9-0001-Tweak-pg_walinspect-tests-to-be-consistent.patch (application/octet-stream) patch v9-0001
On Thu, Mar 16, 2023 at 12:48 PM Michael Paquier <michael@paquier.xyz> wrote: > > On Wed, Mar 15, 2023 at 06:50:01PM +0900, Michael Paquier wrote: > > This is a duplicate of what describe.c uses, with a COLLATE clause. > > The main goal was to have a simple check, so I'd still stand by the > > simplest choice and move on. > > Please note that I have done something about that with e643a31 by > replacing the problematic \dx with a SELECT query, but left the second > one as it should not be a problem. Thanks. FWIW, I rebased the tests tweaking patch and attached it here as v9. This should keep the pg_walinspect tests consistent across comments, spaces, new lines and using count(*) >= 1 for all successful function executions. Thoughts? -- Bharath Rupireddy PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com
Commits
-
Improve a bit the tests of pg_walinspect
- 4f1882b96059 16.0 landed
-
Tweak regression test of pg_walinspect to be less collation-sensitive
- e643a315fc58 16.0 landed
-
Rework design of functions in pg_walinspect
- 5c1b6628075a 16.0 landed
-
Refactor and improve tests of pg_walinspect
- 1f282c24e464 16.0 landed
-
doc: Fix description of pg_get_wal_stats_till_end_of_wal() in pg_walinspect
- 019f8624664d 16.0 cited