Re: Single-argument variant for array_length and friends?

Поиск
Список
Период
Сортировка
От Brendan Jurd
Тема Re: Single-argument variant for array_length and friends?
Дата
Msg-id CADxJZo2LUfXcJ7hh63jsn964XLB3TiNdSxGRrp_H4SNNhJandw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Single-argument variant for array_length and friends?  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: Single-argument variant for array_length and friends?  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
On 21 March 2013 17:08, Pavel Stehule <pavel.stehule@gmail.com> wrote:
> 2013/3/21 Tom Lane <tgl@sss.pgh.pa.us>:
>> I'm not entirely convinced that this is a good idea, but if we're going
>> to allow it I would argue that "array_length(a)" should be defined as
>> "array_length(a, 1)".  The other possibilities are too complicated to
>> explain in as few words.
>>
>
> exactly
>
> +1

Hi Pavel,

Is your +1 to array_length(a) being defined as array_length(a,1), or
to Tom's being unconvinced by the whole proposal?  Or both?

Cheers,
BJ



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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: Single-argument variant for array_length and friends?
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: Single-argument variant for array_length and friends?