NULL input for array_agg()? - Mailing list pgsql-hackers

From Hitoshi Harada
Subject NULL input for array_agg()?
Date
Msg-id e08cc0400911142327l70b29fdfwb73258bd8a944631@mail.gmail.com
Whole thread Raw
Responses Re: NULL input for array_agg()?
List pgsql-hackers
Hi,

During reviewing aggregates ORDER BY, I was reading spec and found
description like:

== snip ==

Of the rows in the aggregation, the following do not qualify:
— If DISTINCT is specified, then redundant duplicates.
— Every row in which the <value expression> evaluates to the null value.

== /snip ==

... and array_agg() is among the functions that description above
refers to. So I wonder if array_agg doesn't accept NULL input (with
STRICT trans function). Did we discussed about this issue when
implementing it for 8.4?

Regards,


--
Hitoshi Harada


pgsql-hackers by date:

Previous
From: Hitoshi Harada
Date:
Subject: Re: add more frame types in window functions (ROWS)
Next
From: Andrew Gierth
Date:
Subject: Re: add more frame types in window functions (ROWS)