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

From Marko Tiikkaja
Subject Re: count_nulls(VARIADIC "any")
Date
Msg-id 564FFD02.6010600@joh.to
Whole thread Raw
In response to Re: count_nulls(VARIADIC "any")  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 2015-11-21 06:06, Tom Lane wrote:
> Marko Tiikkaja <marko@joh.to> writes:
>> Here's a patch implementing this under the name num_nulls().  For
>> January's CF, of course.
>
> What's this do that "count(*) - count(x)" doesn't?

This is sort of a lateral version of count(x); the input is a list of 
expressions rather than an expression executed over a bunch of input rows.


.m



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: count_nulls(VARIADIC "any")
Next
From: Marko Tiikkaja
Date:
Subject: Re: count_nulls(VARIADIC "any")