Re: [PATCH] pg_sleep(interval)

Поиск
Список
Период
Сортировка
От Vik Fearing
Тема Re: [PATCH] pg_sleep(interval)
Дата
Msg-id 524964C9.4030908@dalibo.com
обсуждение исходный текст
Ответ на Re: [PATCH] pg_sleep(interval)  (Fabien COELHO <coelho@cri.ensmp.fr>)
Ответы Re: [PATCH] pg_sleep(interval)  (Vik Fearing <vik.fearing@dalibo.com>)
Список pgsql-hackers
On 09/22/2013 02:17 PM, Fabien COELHO wrote:
>
> Hello,
>
>> There is no pg_sleep(text) function and the cast is unknown->double
>> precision.
>
> My mistake.
>
> As I understand it, pg_sleep('12') currently works and would not
> anymore once your patch is applied. That is the concern raised by
> Robert Haas.

That is correct.

>
>>>    ISTM that providing "pg_sleep(TEXT)" cleanly resolves the
>>>    upward-compatibility issue raised.
>>
>> I don't like this idea at all.  If we don't want to break compatibility
>> for callers that quote the value, I would rather the patch be rejected
>> outright.
>
> That was just a suggestion, and I was trying to help. ISTM that if
> Robert's concern is not addressed one way or another, you will just
> get "rejected" on this basis.
>

Yes, I understand you are trying to help, and I appreciate it!  My
opinion, and that of others as well from the original thread, is that
this patch should either go in as is and break that one case, or not go
in at all.  I'm fine with either (although clearly I would prefer it
went in otherwise I wouldn't have written the patch).

-- 
Vik




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

Предыдущее
От: Sameer Thakur
Дата:
Сообщение: Re: pg_stat_statements: calls under-estimation propagation
Следующее
От: Kevin Grittner
Дата:
Сообщение: Re: record identical operator - Review