Re: Avoiding roundoff error in pg_sleep() - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Avoiding roundoff error in pg_sleep()
Date
Msg-id CA+TgmoZ9m4sf71FdwChsdSNjjUy2kHjU6unqqGp=JnGv9ur=RQ@mail.gmail.com
Whole thread Raw
In response to Re: Avoiding roundoff error in pg_sleep()  (Vladlen Popolitov <v.popolitov@postgrespro.ru>)
List pgsql-hackers
On Fri, Sep 26, 2025 at 11:25 AM Vladlen Popolitov
<v.popolitov@postgrespro.ru> wrote:
> It _does_ not work as it advertised. Help page states:
> 1) "delay execution of the server process"
> 2) "pg_sleep makes the current session's process sleep"
> In reality it stops other backends too.

This thread is about fixing a bug in pg_sleep. I understand that you
don't like the way that pg_sleep works and think it should work
differently. I think you're wrong, and I think Tom and David are
right, and I think they've been more than generous in taking time to
respond to your concerns. But even if they are wrong and you are
right, it's not right to try to hijack a thread about fixing a bug in
pg_sleep to demand that it be redesigned. Please stop doing that. If
you want to, you can start a separate thread to discuss the problem
you're concerned about, but leave this one for discussion of the bug
fix.

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



pgsql-hackers by date:

Previous
From: David Christensen
Date:
Subject: Re: [PATCH] GROUP BY ALL
Next
From: Robert Haas
Date:
Subject: Re: test_json_parser/002_inline is kind of slow