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

From Robert Haas
Subject Re: pgsql: Implement pg_wal_replay_wait() stored procedure
Date
Msg-id CA+TgmoaJ4=eq=6A9UMWH6vFuvOSE0Zy5-HN3RPP=58be6zA8Jw@mail.gmail.com
Whole thread Raw
In response to Re: pgsql: Implement pg_wal_replay_wait() stored procedure  (Heikki Linnakangas <hlinnaka@iki.fi>)
Responses Re: pgsql: Implement pg_wal_replay_wait() stored procedure
List pgsql-hackers
On Mon, Nov 4, 2024 at 10:57 AM Heikki Linnakangas <hlinnaka@iki.fi> wrote:
> > There's also the patch that Heikki posted to wait using a
> > protocol-level facility.
>
> It was Peter E

Oops.

> > Maybe that's just a better fit and we don't need either a procedure
> > or new syntax.
> I think it would still be good to expose the feature at SQL level too.
> Makes it easier to test and makes it usable without client library
> changes, for example.

OK. Well then I agree with Álvaro. If using a procedure isn't working
out nicely, it's better to consider alternatives than to force a round
peg into a square hole (with due regard for the fact that you can fit
anything through the square hole if you make the square hole big
enough...).

--
Robert Haas
EDB: http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: documentation structure
Next
From: Heikki Linnakangas
Date:
Subject: Re: pgsql: Implement pg_wal_replay_wait() stored procedure