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