Re: Add two missing tests in 035_standby_logical_decoding.pl
Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
From: "Drouvot, Bertrand" <bertranddrouvot.pg@gmail.com>
To: Amit Kapila <amit.kapila16@gmail.com>
Cc: vignesh C <vignesh21@gmail.com>, "Yu Shi (Fujitsu)"
<shiy.fnst@fujitsu.com>,
PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2023-05-09T07:14:09Z
Lists: pgsql-hackers
Attachments
- v2-0001-fix-retaining-WAL-test.patch (text/plain) patch v2-0001
Hi, On 5/9/23 8:02 AM, Amit Kapila wrote: > On Mon, May 8, 2023 at 1:45 PM Drouvot, Bertrand > <bertranddrouvot.pg@gmail.com> wrote: > > Why not initialize the cascading standby node just before the standby > promotion test: "Test standby promotion and logical decoding behavior > after the standby gets promoted."? That way we will avoid any unknown > side-effects of cascading standby and it will anyway look more logical > to initialize it where the test needs it. > Yeah, that's even better. Moved the physical slot creation on the standby and the cascading standby initialization where "strictly" needed in V2 attached. Also ensuring that hsf is set to on on the cascading standby to be on the safe side of thing. Regards, -- Bertrand Drouvot PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com
Commits
-
Fix the race condition in the test case added by commit a6e04b1d20.
- c5b7f67fcc8c 16.0 landed
-
Test that invalidated logical slots doesn't retain WAL.
- a6e04b1d20c2 16.0 landed
-
Add a test to verify that subscription to the standby works.
- 376dc820531b 16.0 landed
-
Reduce the log level in 035_standby_logical_decoding.pl.
- 3034dc56ef4b 16.0 landed