Re: Implement waiting for wal lsn replay: reloaded

Поиск
Список
Период
Сортировка
От Alexander Korotkov
Тема Re: Implement waiting for wal lsn replay: reloaded
Дата
Msg-id CAPpHfdtVF51sBjWTk95uT-fO-fEnUVLF+qyt6eXuamKR7t364g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Implement waiting for wal lsn replay: reloaded  (Álvaro Herrera <alvherre@kurilemu.de>)
Список pgsql-hackers
Hello, Álvaro!

On Wed, Aug 6, 2025 at 6:01 AM Álvaro Herrera <alvherre@kurilemu.de> wrote:
>
> On 2025-Apr-29, Alexander Korotkov wrote:
>
> > > 11) WaitLSNProcInfo / WaitLSNState
> > >
> > > Does this need to be exposed in xlogwait.h? These structs seem private
> > > to xlogwait.c, so maybe declare it there?
> >
> > Hmm, I don't remember why I moved them to xlogwait.h.  OK, moved them
> > back to xlogwait.c.
>
> This change made the code no longer compile, because
> WaitLSNState->minWaitedLSN is used in xlogrecovery.c which no longer has
> access to the field definition.  A rebased version with that change
> reverted is attached.

Thank you!  The rebased version looks correct for me.

------
Regards,
Alexander Korotkov
Supabase



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