Re: count_nulls(VARIADIC "any") - Mailing list pgsql-hackers

From Marko Tiikkaja
Subject Re: count_nulls(VARIADIC "any")
Date
Msg-id 5650074B.20700@joh.to
Whole thread Raw
In response to Re: count_nulls(VARIADIC "any")  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Responses Re: count_nulls(VARIADIC "any")  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
List 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



pgsql-hackers by date:

Previous
From: Jim Nasby
Date:
Subject: Re: GIN pending list clean up exposure to SQL
Next
From: Praveen M
Date:
Subject: CreateFunction Statement