Re: Minimal logical decoding on standbys - Mailing list pgsql-hackers

From Drouvot, Bertrand
Subject Re: Minimal logical decoding on standbys
Date
Msg-id 002cc876-0838-2821-e9d8-bb3791386814@gmail.com
Whole thread Raw
In response to Re: Minimal logical decoding on standbys  ("Drouvot, Bertrand" <bertranddrouvot.pg@gmail.com>)
Responses Re: Minimal logical decoding on standbys
List pgsql-hackers
Hi,

On 4/11/23 10:55 AM, Drouvot, Bertrand wrote:
> Hi,
> 
> I think we might want to add:
> 
> $node_primary->wait_for_replay_catchup($node_standby);
> 
> before calling the slot creation.
> 
> It's done in the attached, would it be possible to give it a try please?

Actually, let's also wait for the cascading standby to catchup too, like done in the attached.

Regards,

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

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Support logical replication of DDLs
Next
From: Magnus Hagander
Date:
Subject: Re: User functions for building SCRAM secrets