Re: [PATCH] pg_sleep(interval)

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: [PATCH] pg_sleep(interval)
Дата
Msg-id 520EBD39.8060504@agliodbs.com
обсуждение исходный текст
Ответ на [PATCH] pg_sleep(interval)  (Vik Fearing <vik.fearing@dalibo.com>)
Ответы Re: [PATCH] pg_sleep(interval)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Michael Cronenworth
Дата:
Сообщение: Fix Windows socket error checking for MinGW
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCH] pg_sleep(interval)