Tom Lane wrote:
"Sabin Coanda" <[EMAIL PROTECTED]> writes:
I used the function array_to_string, and I found it ignores NULL values, e.g. array_to_string( 'ARRAY[1,NULL,3]', ',' ) returns '1,3'.

Do you have a better idea?

If you're being strict it should presumably return NULL for the whole string. Or you'd need a "coalesce-to-this" parameter.

--
  Richard Huxton
  Archonet Ltd

---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

               http://www.postgresql.org/about/donate

Reply via email to