On Sun, Mar 21, 2021 at 2:47 PM Markus Wanner
<markus.wan...@enterprisedb.com> wrote:
>
> 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.
>

Okay.

>  See my patch for filter_prepare.
>

I'll think once again from this angle and respond on that thread,
probably one use case could be for the plugins which use xid to
generate GID. In such cases, xid might be required to filter the
transaction.

-- 
With Regards,
Amit Kapila.


Reply via email to