Re: Aggregate ORDER BY patch
Peter Eisentraut <peter_e@gmx.net>
From: Peter Eisentraut <peter_e@gmx.net>
To: Andrew Gierth <andrew@tao11.riddles.org.uk>
Cc: pgsql-hackers@postgresql.org
Date: 2009-11-13T11:36:43Z
Lists: pgsql-hackers
On fre, 2009-11-13 at 03:16 +0000, Andrew Gierth wrote: > Caveat: as discussed earlier, this patch changes the behaviour of > array_agg(DISTINCT x) when applied to NULL inputs. Formerly, the NULLs > were unconditionally skipped; now, they are treated just like DISTINCT > or GROUP BY normally do. The right answer to that should be in the SQL standard.