diff options
author | Amit Kapila <akapila@postgresql.org> | 2025-03-28 11:03:05 +0530 |
---|---|---|
committer | Amit Kapila <akapila@postgresql.org> | 2025-03-28 11:03:05 +0530 |
commit | 474d7a1fd858d5ee138cf4504dcd93a9a3123a7d (patch) | |
tree | 51eb313b24ce5ee4a035ea01fe1fa1b43644c915 /src/backend/utils/adt/pg_locale_libc.c | |
parent | 058b5152f02ef86c98a795c14dbd6a8e195f4fd1 (diff) | |
download | postgresql-474d7a1fd858d5ee138cf4504dcd93a9a3123a7d.tar.gz postgresql-474d7a1fd858d5ee138cf4504dcd93a9a3123a7d.zip |
Stablize tests added in 3abe9dc188.
The problem is that after the ALTER SUBSCRIPTION tap_sub SET PUBLICATION
command, we didn't wait for the new walsender to start on the publisher.
Immediately after ALTER, we performed Insert and expected it to replicate.
However, the replication could start from a point after the INSERT location,
and as the subscription isn't copying initial data, we could miss such an
Insert.
The fix is to wait for connection to be established between publisher and
subscriber before starting DML operations that are expected to replicate.
As per CI.
Reported-by: Andres Freund <andres@anarazel.de>
Author: Hayato Kuroda <kuroda.hayato@fujitsu.com>
Discussion: https://postgr.es/m/CALDaNm2ms1deM5EYNLFEfESv_Kw=Y4AiTB0LP=qGS-UpFwGbPg@mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/pg_locale_libc.c')
0 files changed, 0 insertions, 0 deletions