Re: array_length(anyarray)

Поиск
Список
Период
Сортировка
От Dean Rasheed
Тема Re: array_length(anyarray)
Дата
Msg-id CAEZATCVf2oZ73K5fpf8m6PU6EncOoEE3SWXVAEi8DvnkEKLSQA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: array_length(anyarray)  (Marko Tiikkaja <marko@joh.to>)
Список pgsql-hackers
On 20 January 2014 13:47, Marko Tiikkaja <marko@joh.to> wrote:
> On 1/20/14 2:29 PM, Dean Rasheed wrote:
>>
>> I think this is ready for committer
>
>
> Thanks!
>
>> ... although I would also like to see
>>
>> the doc changes to make the table of array function descriptions a bit
>> more explicit about corner cases.
>
>
> Hmm.  I completely missed the fact that unnest() already uses a structure
> similar to yours.  It looks like e.g. window functions do the same, but JSON
> functions all have proper capitalization and periods, and some others
> capitalize but omit periods.
>
> I could submit a separate patch to describe array functions in a bit more
> detail,

Yes please. I think that would be helpful.


> I'm not planning on fixing the
> inconsistencies, though, despite them annoying me.
>

To be honest, I hadn't even noticed those inconsistencies. The main
thing is to alert new users to the fact that empty arrays behave in a
rather odd way for a couple of those functions.

Regards,
Dean



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

Предыдущее
От: Marko Tiikkaja
Дата:
Сообщение: Re: array_length(anyarray)
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: ALTER TABLESPACE ... MOVE ALL TO ...