Re: count_nulls(VARIADIC "any")

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: "Shulgin, Oleksandr" <oleksandr(dot)shulgin(at)zalando(dot)de>
Cc: Marko Tiikkaja <marko(at)joh(dot)to>, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Geoghegan <pg(at)heroku(dot)com>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Greg Stark <stark(at)mit(dot)edu>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: count_nulls(VARIADIC "any")
Date: 2015-08-13 08:01:53
Message-ID: CAFj8pRB1iUTeOv8Gpy1jn2+1r3-2U70DHi2ygtO46otrF2rwKg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2015-08-13 9:47 GMT+02:00 Shulgin, Oleksandr <oleksandr(dot)shulgin(at)zalando(dot)de>:

> On Thu, Aug 13, 2015 at 9:25 AM, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
> wrote:
>
>>
>>
>> 2015-08-13 9:21 GMT+02:00 Marko Tiikkaja <marko(at)joh(dot)to>:
>>
>>> On 8/13/15 9:18 AM, Shulgin, Oleksandr wrote:
>>>
>>>> nnulls()
>>>>
>>>
>>> I think I'd prefer num_nulls() over that.
>>>
>>
>> can be
>>
>> what about similar twin function num_nonulls()?
>>
>
> Yes. But I'm can't see any precedent for naming it like num_*... And if
> anything, should it be num_nonnulls() then?
>

it is detail - depends on final naming convention.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 2015-08-13 09:03:50 Views created by UNION ALL
Previous Message Shulgin, Oleksandr 2015-08-13 07:47:09 Re: count_nulls(VARIADIC "any")