Re: pgsql: Implement pg_wal_replay_wait() stored procedure - Mailing list pgsql-committers

From Thomas Munro
Subject Re: pgsql: Implement pg_wal_replay_wait() stored procedure
Date
Msg-id CA+hUKGLYvGc=6W4vS9YuE3FYe7aZp++_wHu13_aj8=j4d99Gxw@mail.gmail.com
Whole thread Raw
In response to Re: pgsql: Implement pg_wal_replay_wait() stored procedure  (Alexander Korotkov <aekorotkov@gmail.com>)
List pgsql-committers
On Wed, Apr 3, 2024 at 9:42 AM Alexander Korotkov <aekorotkov@gmail.com> wrote:
> On Tue, Apr 2, 2024 at 10:58 PM Alexander Korotkov
> <akorotkov@postgresql.org> wrote:
> > Implement pg_wal_replay_wait() stored procedure
>
> I'm trying to figure out if this failure could be related to this commit...
> https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=culicidae&dt=2024-04-02%2020%3A24%3A55

I think you might need to move WaitLSNShmemInit() down to
CreateOrAttachShmemStructs(), otherwise -DEXEC_BACKEND build dies with
a NULL pointer.  (Huh, why doesn't that animal show a backtrace?)



pgsql-committers by date:

Previous
From: David Rowley
Date:
Subject: pgsql: Don't zero tuple_fraction when planning UNIONs with ORDER BYs
Next
From: David Rowley
Date:
Subject: Re: pgsql: Implement pg_wal_replay_wait() stored procedure