Re: Possible bug in logical replication.

Поиск
Список
Период
Сортировка
От Arseny Sher
Тема Re: Possible bug in logical replication.
Дата
Msg-id 87in7md034.fsf@ars-thinkpad
обсуждение исходный текст
Ответ на Re: Possible bug in logical replication.  (Konstantin Knizhnik <k.knizhnik@postgrespro.ru>)
Ответы Re: Possible bug in logical replication.
Список pgsql-hackers
Konstantin Knizhnik <k.knizhnik@postgrespro.ru> writes:

> I think that using restart_lsn instead of confirmed_flush is not right approach.
> If restart_lsn is not available and confirmed_flush is pointing to page
> boundary, then in any case we should somehow handle this case and adjust
> startlsn to point on the valid record position (by jjust adding page header
> size?).

Well, restart_lsn is always available on live slot: it is initially set
in ReplicationSlotReserveWal during slot creation.


--
Arseny Sher
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company


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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: overhead of expression evaluation
Следующее
От: Etsuro Fujita
Дата:
Сообщение: Re: Expression errors with "FOR UPDATE" and postgres_fdw with partitionwise join enabled.