Re: pg_usleep for multisecond delays - Mailing list pgsql-hackers

From Kyotaro Horiguchi
Subject Re: pg_usleep for multisecond delays
Date
Msg-id 20230210.120017.1621286891297785514.horikyota.ntt@gmail.com
Whole thread Raw
In response to Re: pg_usleep for multisecond delays  (Nathan Bossart <nathandbossart@gmail.com>)
List pgsql-hackers
At Thu, 9 Feb 2023 14:51:14 -0800, Nathan Bossart <nathandbossart@gmail.com> wrote in 
> On Thu, Feb 09, 2023 at 01:30:27PM -0800, Andres Freund wrote:
> > So I'm not sure it's the right direction to make pg_usleep() easier to use...
> Hm...  We might be able to use WaitLatch() for some of these.

And I think we are actully going to reduce or eliminate the use of
pg_sleep().

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center



pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: Speed up transaction completion faster after many relations are accessed in a transaction
Next
From: Michael Paquier
Date:
Subject: Re: pg_usleep for multisecond delays