Re: count_nulls(VARIADIC "any")

From: Marko Tiikkaja <marko(at)joh(dot)to>
To: Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: count_nulls(VARIADIC "any")
Date: 2015-11-21 05:55:23
Message-ID: 5650074B.20700@joh.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2015-11-21 06:52, Jim Nasby wrote:
> On 11/20/15 11:12 PM, Marko Tiikkaja wrote:
>> On 2015-11-21 06:02, I wrote:
>>> Here's a patch implementing this under the name num_nulls(). For
>>> January's CF, of course.
>>
>> I forgot to update the some references in the documentation. Fixed in
>> v3, attached.
>
> I thought there was going to be a not-null equivalent as well? I've
> definitely wanted both variations in the past.

I'm not sure that's necessary. It's quite simple to implement yourself
using the int - int operator.

.m

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Praveen M 2015-11-21 06:09:47 CreateFunction Statement
Previous Message Jim Nasby 2015-11-21 05:54:39 Re: GIN pending list clean up exposure to SQL