Re: Single-argument variant for array_length and friends?

From: Brendan Jurd <direvus(at)gmail(dot)com>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Single-argument variant for array_length and friends?
Date: 2013-03-21 06:13:25
Message-ID: CADxJZo2LUfXcJ7hh63jsn964XLB3TiNdSxGRrp_H4SNNhJandw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 21 March 2013 17:08, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> wrote:
> 2013/3/21 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2013-03-21 06:32:21 Re: Single-argument variant for array_length and friends?
Previous Message Pavel Stehule 2013-03-21 06:08:16 Re: Single-argument variant for array_length and friends?