Re: Logical Replication vs. 2PC

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема Re: Logical Replication vs. 2PC
Дата
Msg-id CAA4eK1K1EHi1cZ=3bM5Ct1YpTP+PTyPLd-PwVqMOu6o0YLmFkw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Logical Replication vs. 2PC  (Markus Wanner <markus.wanner@enterprisedb.com>)
Список pgsql-hackers
On Sun, Mar 21, 2021 at 2:47 PM Markus Wanner
<markus.wanner@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.



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: proposal - psql - use pager for \watch command
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: replication cleanup code incorrect way to use of HTAB HASH_REMOVE ?