pgsql: Adjust pg_sleep_for/pg_sleep_until to use clock_timestamp.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Adjust pg_sleep_for/pg_sleep_until to use clock_timestamp.
Date: 2014-02-03 19:34:35
Message-ID: E1WAPHv-0004Mf-0i@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Adjust pg_sleep_for/pg_sleep_until to use clock_timestamp.

Otherwise, pg_sleep_until does the wrong thing in a multi-statement
transaction.

Julien Rouhaud

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/80353f35285f89382cea7fc543580827f0465e69

Modified Files
--------------
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2014-02-03 19:47:33 pgsql: Fix *-qualification of named parameters in SQL-language function
Previous Message Robert Haas 2014-02-03 15:49:30 pgsql: Document a few more regression test hazards.