Re: Anyone want to fix plperl for null array elements?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Anyone want to fix plperl for null array elements?
Date: 2005-11-18 03:37:31
Message-ID: 1842.1132285051@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2005-11-18 03:44:47 Re: Anyone want to fix plperl for null array elements?
Previous Message Michael Fuhr 2005-11-18 03:20:06 Re: Anyone want to fix plperl for null array elements?