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 24A07D1B267 for ; Mon, 28 Jun 2004 14:56:51 -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 18167-08 for ; Mon, 28 Jun 2004 17:56:46 +0000 (GMT) Received: from joeconway.com (66-146-172-82.skyriver.net [66.146.172.82]) by svr1.postgresql.org (Postfix) with ESMTP id BAC33D1B233 for ; Mon, 28 Jun 2004 14:56:42 -0300 (ADT) Received: from [206.19.64.3] (account jconway HELO joeconway.com) by joeconway.com (CommuniGate Pro SMTP 4.1.8) with ESMTP-TLS id 1876640; Mon, 28 Jun 2004 10:48:44 -0700 Message-ID: <40E05BD8.6070807@joeconway.com> Date: Mon, 28 Jun 2004 10:56:40 -0700 From: Joe Conway User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040510 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Markus Bertheau Cc: pgsql-sql@postgresql.org Subject: Re: Empty array IS NULL? References: <1088438514.3239.97.camel@dicaprio.akademie1.de> <40E046B3.2070603@joeconway.com> <1088442376.2715.1.camel@teetnang> In-Reply-To: <1088442376.2715.1.camel@teetnang> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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/274 X-Sequence-Number: 18219 Markus Bertheau wrote: > How do I specify an empty array with the standard syntax? > Actually, up until the 7.4 release, the array literal syntax was the *only* syntax (i.e. '{...}'). The newer array constructor expression (i.e. ARRAY[...]) does not yet support creating empty arrays -- there are some non-trivial technical difficulties to be solved. Unfortunately that won't change in the upcoming 7.5 either :( -- perhaps for 7.6. Joe