Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id A2F329FB821 for ; Tue, 27 Mar 2007 11:50:14 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 37019-04-5 for ; Tue, 27 Mar 2007 11:49:53 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 5B20C9FB8E0 for ; Tue, 27 Mar 2007 11:49:59 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id l2REnoTo020092; Tue, 27 Mar 2007 10:49:50 -0400 (EDT) To: "Sabin Coanda" cc: pgsql-sql@postgresql.org Subject: Re: array_to_string In-reply-to: References: Comments: In-reply-to "Sabin Coanda" message dated "Tue, 27 Mar 2007 09:47:22 +0300" Date: Tue, 27 Mar 2007 10:49:50 -0400 Message-ID: <20090.1175006990@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200703/316 X-Sequence-Number: 27954 "Sabin Coanda" 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? regards, tom lane