Re: 035_standby_logical_decoding might fail due to FATAL message lost inside libpq

From: Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>
To: "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, 'Alexander Lakhin' <exclusion(at)gmail(dot)com>
Subject: Re: 035_standby_logical_decoding might fail due to FATAL message lost inside libpq
Date: 2026-09-02 05:15:24
Message-ID: apew7MesYsOYunlJ@bdtpg
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On Wed, Sep 02, 2026 at 01:47:00AM +0000, Hayato Kuroda (Fujitsu) wrote:
> Hi hackers,
>
> Ping

Thanks! ;-)

> This tries to fix a flaky test.

'--option' => 'skip-empty-xacts=1',
'--file' => '-',
+ '--verbose',

Adding verbose does not add too much noise to the output so that's ok for me.

It is also needed for:

+ ok(pump_until($slot_user_handle, $pump_timeout, $to_stderr,
+ qr/streaming initiated/),
+ "pg_recvlogical started streaming");

Waiting for "streaming initiated" makes sense to me.

The patch LGTM.

Regards,

--
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2026-09-02 05:16:13 Re: WAIT FOR command should do some query jumbling
Previous Message surya poondla 2026-09-02 05:02:36 Re: Introduce XID age based replication slot invalidation