Re: Single-argument variant for array_length and friends? - Mailing list pgsql-hackers

From Brendan Jurd
Subject Re: Single-argument variant for array_length and friends?
Date
Msg-id CADxJZo2LUfXcJ7hh63jsn964XLB3TiNdSxGRrp_H4SNNhJandw@mail.gmail.com
Whole thread Raw
In response to Re: Single-argument variant for array_length and friends?  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: Single-argument variant for array_length and friends?  (Pavel Stehule <pavel.stehule@gmail.com>)
List 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 by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: Single-argument variant for array_length and friends?
Next
From: Pavel Stehule
Date:
Subject: Re: Single-argument variant for array_length and friends?