Re: pgsql: Allow multiple xacts during table sync in logical replication.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Allow multiple xacts during table sync in logical replication.
Дата
Msg-id 1625664.1613189955@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgsql: Allow multiple xacts during table sync in logical replication.  (Amit Kapila <amit.kapila16@gmail.com>)
Ответы Re: pgsql: Allow multiple xacts during table sync in logical replication.  (Amit Kapila <amit.kapila16@gmail.com>)
Список pgsql-committers
Amit Kapila <amit.kapila16@gmail.com> writes:
> Attached should fix the reported warnings but as I am not getting
> those warnings on my system so can't confirm but otherwise, the patch
> works as expected. I am planning to push this unless you or Peter have
> any comments.

Personally I'd get rid of the option for ReplicationSlotNameForTablesync
to allocate the result buffer.  There's only one caller using that,
so it's saving no code to have ReplicationSlotNameForTablesync do the
alloc rather than that one caller; and it seems mighty ugly/nonorthogonal
to have effectively two different APIs in one function.

            regards, tom lane



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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: pgsql: Allow multiple xacts during table sync in logical replication.
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: pgsql: Allow multiple xacts during table sync in logical replication.