Re: [PATCH] pg_sleep(interval) - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: [PATCH] pg_sleep(interval)
Date
Msg-id 520EBD39.8060504@agliodbs.com
Whole thread Raw
In response to [PATCH] pg_sleep(interval)  (Vik Fearing <vik.fearing@dalibo.com>)
Responses Re: [PATCH] pg_sleep(interval)
List pgsql-hackers
On 08/16/2013 04:52 PM, Tom Lane wrote:
> Since the same effect can be had by writing a user-defined SQL function,
> I'm a bit inclined to say that the value-added by having this as a
> built-in function doesn't justify the risk of breaking existing apps.
> It's a close call though, because both the risk and the value-added seem
> rather small from here.

Why not just call it pg_sleep_int()?

I, for one, would find it useful, but would be really unhappy about
about having to debug a bunch of old code to figure out what was broken.

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



pgsql-hackers by date:

Previous
From: Michael Cronenworth
Date:
Subject: Fix Windows socket error checking for MinGW
Next
From: Tom Lane
Date:
Subject: Re: [PATCH] pg_sleep(interval)