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 1E926D1B1B6 for ; Mon, 28 Jun 2004 15:12:31 -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 24905-09 for ; Mon, 28 Jun 2004 18:12:27 +0000 (GMT) Received: from mta07-svc.ntlworld.com (mta07-svc.ntlworld.com [62.253.162.47]) by svr1.postgresql.org (Postfix) with ESMTP id 0B174D1B187 for ; Mon, 28 Jun 2004 15:12:25 -0300 (ADT) Received: from [81.98.165.129] by mta07-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20040628181240.VKTQ5696.mta07-svc.ntlworld.com@[81.98.165.129]> for ; Mon, 28 Jun 2004 19:12:40 +0100 Mime-Version: 1.0 (Apple Message framework v618) Content-Type: text/plain; charset=US-ASCII; format=flowed Resent-Date: Mon, 28 Jun 2004 19:12:00 +0100 Message-Id: Cc: pgsql-sql@postgresql.org Content-Transfer-Encoding: 7bit Resent-To: pgsql-sql@postgresql.org From: Joe Conway Resent-Message-Id: <40E05BD8.6070807@joeconway.com> X-Mailer: Apple Mail (2.618) Subject: Re: Empty array IS NULL? Resent-From: beyaNet Date: Mon, 28 Jun 2004 10:56:40 -0700 To: Markus Bertheau X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.1 tagged_above=0.0 required=5.0 tests=RCVD_IN_SORBS X-Spam-Level: X-Archive-Number: 200406/275 X-Sequence-Number: 18220 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 ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)