Re: speed up a logical replica setup - Mailing list pgsql-hackers

From Euler Taveira
Subject Re: speed up a logical replica setup
Date
Msg-id 9b2256ea-484d-404d-a3cf-b8e86674951e@app.fastmail.com
Whole thread Raw
In response to Re: speed up a logical replica setup  (Fabrízio de Royes Mello <fabriziomello@gmail.com>)
Responses Re: speed up a logical replica setup
List pgsql-hackers
On Wed, Jan 31, 2024, at 11:25 AM, Fabrízio de Royes Mello wrote:
Jumping into this a bit late here... I'm trying a simple pg_createsubscriber but getting an error:

Try v11. It seems v12-0002 is not correct.

Seems we need to escape connection params similar we do in dblink [1]

I think it is a consequence of v12-0003. I didn't review v12 yet but although I
have added a comment saying it might be possible to use primary_conninfo, I'm
not 100% convinced that's the right direction.

        /*
         * TODO use primary_conninfo (if available) from subscriber and
         * extract publisher connection string. Assume that there are
         * identical entries for physical and logical replication. If there is
         * not, we would fail anyway.
         */


--
Euler Taveira

pgsql-hackers by date:

Previous
From: Fabrízio de Royes Mello
Date:
Subject: Re: speed up a logical replica setup
Next
From: Robert Haas
Date:
Subject: Re: Possibility to disable `ALTER SYSTEM`