X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 6D815D1B233 for ; Mon, 28 Jun 2004 14:06:28 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 83324-10 for ; Mon, 28 Jun 2004 17:06:24 +0000 (GMT) Received: from web11.manitu.net (web11.manitu.net [217.11.48.111]) by svr1.postgresql.org (Postfix) with ESMTP id D329BD1B1AA for ; Mon, 28 Jun 2004 14:06:21 -0300 (ADT) Received: from [192.168.0.1] (dsl-082-082-213-043.arcor-ip.net [82.82.213.43]) (authenticated) by web11.manitu.net (8.10.2-SOL3/8.10.2) with ESMTP id i5SH6Da20237; Mon, 28 Jun 2004 19:06:13 +0200 Subject: Re: Empty array IS NULL? From: Markus Bertheau To: Joe Conway Cc: pgsql-sql@postgresql.org In-Reply-To: <40E046B3.2070603@joeconway.com> References: <1088438514.3239.97.camel@dicaprio.akademie1.de> <40E046B3.2070603@joeconway.com> Content-Type: text/plain; charset=UTF-8 Message-Id: <1088442376.2715.1.camel@teetnang> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Mon, 28 Jun 2004 19:06:17 +0200 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200406/273 X-Sequence-Number: 18218 =D0=92 =D0=9F=D0=BD=D0=B4, 28.06.2004, =D0=B2 18:26, Joe Conway =D0=BF=D0= =B8=D1=88=D0=B5=D1=82: > Markus Bertheau wrote: > > is the empty array representable in PostgreSQL, and is it > > distinguishable from NULL? >=20 > Yes, and yes. >=20 > Since NULL array elements are not currently supported, attempting to=20 > construct an array with a NULL element results in NULL, not an empty arra= y. Thanks. How do I specify an empty array with the standard syntax? --=20 Markus Bertheau