Re: Minimal logical decoding on standbys

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

On 4/6/23 2:23 PM, Amit Kapila wrote:
> On Thu, Apr 6, 2023 at 11:29 AM Amit Kapila <amit.kapila16@gmail.com> wrote:
> 
> Thinking some more on this, I think such a slot won't decode any other
> records. During CreateInitDecodingContext->ReplicationSlotReserveWal,
> for standby's, we use lastReplayedEndRecPtr as restart_lsn. This
> should be a record before parameter_change record in the above
> scenario. So, ideally, the first record to decode by such a walsender
> should be parameter_change which will anyway error out. So, this
> shouldn't be a problem.
> 

Agree.

Regards,

-- 
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com



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

Предыдущее
От: "Drouvot, Bertrand"
Дата:
Сообщение: Re: Minimal logical decoding on standbys
Следующее
От: Masahiko Sawada
Дата:
Сообщение: Re: Initial Schema Sync for Logical Replication