"Andrew Dunstan" <andrew(at)dunslane(dot)net> writes:
> I will fix this tomorrow - it's about a 4 line fix. I've missed the details
> - we're just using an unquoted NULL in array literals?
Right. Case-insensitive, double-quote it if you want the literal string
instead.
regression=# select array[1,null,3];
array
------------
{1,NULL,3}
(1 row)
regards, tom lane