Re: Logical Replication vs. 2PC - Mailing list pgsql-hackers

From Markus Wanner
Subject Re: Logical Replication vs. 2PC
Date
Msg-id 98a7dbee-3ca6-0ec5-750b-0d2754fbfc5f@enterprisedb.com
Whole thread Raw
In response to Re: Logical Replication vs. 2PC  (Amit Kapila <amit.kapila16@gmail.com>)
Responses Re: Logical Replication vs. 2PC  (Amit Kapila <amit.kapila16@gmail.com>)
List pgsql-hackers
On 20.03.21 16:14, Amit Kapila wrote:
> Right, but I guess in our case using user-provided GID will conflict
> if we use multiple subscriptions on the same node. So, it is better to
> generate a unique identifier like we are discussing here, something
> like (origin_id of subscription + xid of the publisher). Do you see
> any problem with that?

No, quite the opposite: I'm the one advocating the use of xids to 
identify transactions.  See my patch for filter_prepare.

Regards

Markus



pgsql-hackers by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: Using COPY FREEZE in pgbench
Next
From: Gilles Darold
Date:
Subject: Re: [PATCH] proposal for regexp_count, regexp_instr, regexp_substr and regexp_replace