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: "Yu Shi (Fujitsu)" <shiy.fnst@fujitsu.com>,
vignesh C <vignesh21@gmail.com>,
PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2023-05-03T12:16:54Z
Lists: pgsql-hackers
Hi, On 5/3/23 12:29 PM, Amit Kapila wrote: > On Tue, May 2, 2023 at 4:52 PM Drouvot, Bertrand > <bertranddrouvot.pg@gmail.com> wrote: >> >> >> As per your suggestion, changing the insert ordering (like in V8 attached) makes it now work on the failing environment too. >> > > I think it is better to use wait_for_replay_catchup() to wait for > standby to catch up. Oh right, that's a discussion we already had in [1], I should have thought about it. > I have changed that and a comment in the > attached. I'll push this tomorrow unless there are further comments. > LGTM, thanks! [1]: https://www.postgresql.org/message-id/acbac69e-9ae8-c546-3216-8ecb38e7a93d%40gmail.com 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