On Friday, September 26, 2025, Vladlen Popolitov <[email protected]>
wrote:

>
> It looks like sleep has the wrong place in a function. It should be
> an utility command, that does not start a transaction.
>

Then write that command.  We’re not going to change pg_sleep.  It’s works
just as advertised.  True, it probably should never be used in production.

I can see a pipeline sequence tossing a wait command into the flow so
having the server accept a wait instruction has at least some immediate
merit.

David J.

Reply via email to