Sleep functions

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Sleep functions
Date: 2005-08-21 22:52:30
Message-ID: 20050821225230.GA32166@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

What do people think of exposing pg_usleep() to the user? It's
sometimes useful to have a server-side sleep function, and people
do ask about it occasionally (e.g., Don Drake today in pgsql-admin).
It's easy enough to do in PL/Perl, PL/Tcl, etc., but since the
backend already has pg_usleep(), is there any reason not to expose
it? I'd propose both sleep() and usleep() functions.

--
Michael Fuhr

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 2005-08-21 23:14:23 Re: Missing CONCURRENT VACUUM (Was: Release notes for
Previous Message Tom Lane 2005-08-21 22:49:25 Re: PostgreSQL 8.0.3 and Ipv6