Re: Minimal logical decoding on standbys

Поиск
Список
Период
Сортировка
От Drouvot, Bertrand
Тема Re: Minimal logical decoding on standbys
Дата
Msg-id b98aa7cf-d826-acb9-8e5b-b681bf874f00@gmail.com
обсуждение исходный текст
Ответ на Re: Minimal logical decoding on standbys  (Amit Kapila <amit.kapila16@gmail.com>)
Список pgsql-hackers
Hi,

On 4/4/23 3:43 PM, Amit Kapila wrote:
> On Tue, Apr 4, 2023 at 6:05 PM Drouvot, Bertrand
> 
> I think we might want to consider slot's effective_xmin instead of
> data.xmin as we use that to store xmin_horizon when we build the full
> snapshot.
> 

Oh, I did not know about the 'effective_xmin' and was going to rely only on the catalog xmin.

Reading the comment in the ReplicationSlot struct about the 'effective_xmin' I do think it makes sense to use it
(instead of data.xmin).

Please find attached v59 doing so.

Regards,

-- 
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com
Вложения

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

Предыдущее
От: Pavel Borisov
Дата:
Сообщение: Re: [PATCH] Clarify the behavior of the system when approaching XID wraparound
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: doc: add missing "id" attributes to extension packaging page