Re: JSON Function Bike Shedding

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: JSON Function Bike Shedding
Дата
Msg-id 5120EA24.5090209@dunslane.net
обсуждение исходный текст
Ответ на Re: JSON Function Bike Shedding  ("David E. Wheeler" <david@justatheory.com>)
Ответы Re: JSON Function Bike Shedding  ("David E. Wheeler" <david@justatheory.com>)
Список pgsql-hackers
On 02/16/2013 07:50 PM, David E. Wheeler wrote:
> On Feb 16, 2013, at 12:47 PM, Andrew Dunstan <andrew@dunslane.net> wrote:
>
>> To answer David's point, there is no point in having both
>>
>>     get(json,text)
>>     get(json, variadic text[])
>>
>> since the second can encompass the first, and having both would make calls ambiguous.
> Oh. Well then how about
>
>     get(json, int)
>     get(json, text)
>     get(json, text[])
>
> ?
>


No, then we don't have a variadic version. You are going to have to 
accept that we can't make one function name cover all of this.

cheers

andrew




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

Предыдущее
От: Andres Freund
Дата:
Сообщение: overlapping strncpy/memcpy errors via valgrind
Следующее
От: Greg Stark
Дата:
Сообщение: Re: overlapping strncpy/memcpy errors via valgrind