Re: logical decoding and replication of sequences

Поиск
Список
Период
Сортировка
От Petr Jelinek
Тема Re: logical decoding and replication of sequences
Дата
Msg-id 456A528F-8F19-41C7-9857-927024D32396@enterprisedb.com
обсуждение исходный текст
Ответ на Re: logical decoding and replication of sequences  (Amit Kapila <amit.kapila16@gmail.com>)
Ответы Re: logical decoding and replication of sequences  (Amit Kapila <amit.kapila16@gmail.com>)
Список pgsql-hackers
> On 22. 3. 2022, at 13:09, Amit Kapila <amit.kapila16@gmail.com> wrote:
>
> On Mon, Mar 21, 2022 at 4:25 AM Tomas Vondra
> <tomas.vondra@enterprisedb.com> wrote:
>>
>> Hi,
>>
>> Attached is a rebased patch, addressing most of the remaining issues.
>>
>
> It appears that on the apply side, the patch always creates a new
> relfilenode irrespective of whether the sequence message is
> transactional or not. Is it required to create a new relfilenode for
> non-transactional messages? If not that could be costly?
>


That's a good catch, I think we should just write the page in the non-transactional case, no need to mess with
relnodes.


Petr


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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: logical decoding and replication of sequences
Следующее
От: Nikita Malakhov
Дата:
Сообщение: Re: Pluggable toaster