Re: [HACKERS] Logical replication in the same cluster - Mailing list pgsql-hackers

From Andres Freund
Subject Re: [HACKERS] Logical replication in the same cluster
Date
Msg-id 20170501003103.73idl4ia6byj5hws@alap3.anarazel.de
Whole thread Raw
In response to Re: [HACKERS] Logical replication in the same cluster  (Petr Jelinek <petr.jelinek@2ndquadrant.com>)
Responses Re: [HACKERS] Logical replication in the same cluster  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List pgsql-hackers
On 2017-04-26 23:41:51 +0200, Petr Jelinek wrote:
> Yes that's result of how logical replication slots work, the transaction
> that needs to finish is your transaction. It can be worked around by
> creating the slot manually via the SQL interface for example and create
> the subscription using WITH (NOCREATE SLOT, SLOT NAME = 'your slot') .

Is there any chance the creation of the slot could be moved ahead, to
before an xid has been assigned?

- Andres



pgsql-hackers by date:

Previous
From: Amit Langote
Date:
Subject: Re: [HACKERS] Crash when partition column specified twice
Next
From: Noah Misch
Date:
Subject: Re: [HACKERS] Re: logical replication and PANIC during shutdowncheckpoint in publisher