Re: [PATCH] pg_sleep(interval)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCH] pg_sleep(interval)
Дата
Msg-id 17235.1376698508@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCH] pg_sleep(interval)  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-hackers
Josh Berkus <josh@agliodbs.com> writes:
> Why not just call it pg_sleep_int()?

To me, that looks like something that would take an int.  I suppose you
could call it pg_sleep_interval(), but that's getting pretty verbose.

The larger picture here though is that that's ugly as sin; it just flies
in the face of the fact that PG *does* have function overloading and we
do normally use it, not invent randomly-different function names to avoid
using it.  We should either decide that this feature is worth the small
risk of breakage, or reject it.  Not build a camel-designed-by-committee
because no one would speak up for consistency of design.
        regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: [PATCH] pg_sleep(interval)
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: [PATCH] pg_sleep(interval)