On Sun, Feb 2, 2014 at 4:50 AM, Julien Rouhaud <[email protected]> wrote: > It seems like pg_sleep_until() has issues if used within a transaction, as > it uses now() and not clock_timestamp(). Please find attached a patch that > solves this issue. > > For consistency reasons, I also modified pg_sleep_for() to also use > clock_timestamp.
Good catch! Committed. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
