Re: count_nulls(VARIADIC "any")

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: count_nulls(VARIADIC "any")
Дата
Msg-id CAKFQuwawJq1Sf3jLFeJAE24MmvsAdieLrxkboJU9OaTJojk3YA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: count_nulls(VARIADIC "any")  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: count_nulls(VARIADIC "any")  ("Shulgin, Oleksandr" <oleksandr.shulgin@zalando.de>)
Список pgsql-hackers
On Wed, Aug 12, 2015 at 4:11 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
Peter Geoghegan <pg@heroku.com> writes:
> On Wed, Aug 12, 2015 at 10:30 AM, Alvaro Herrera
> <alvherre@2ndquadrant.com> wrote:
>> The name count_nulls() suggest an aggregate function to me, though.

> I thought the same.

Ditto.  I'd be fine with this if we can come up with a name that
doesn't sound like an aggregate.  The best I can do offhand is
"number_of_nulls()", which doesn't seem very pretty.


nulls_in(a, b, c) IN (0, 3) - yes the repetition is not great...

David J.
 

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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Macro nesting hell
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: WIP: SCRAM authentication