pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joe Conway <mail@joeconway.com>
To: Markus Bertheau <twanger@bluetwanger.de>
Cc: pgsql-sql@postgresql.org
Subject: Re: Empty array IS NULL?
Date: Mon, 28 Jun 2004 10:56:40 -0700
Message-ID: <40E05BD8.6070807@joeconway.com> (raw)
In-Reply-To: <1088442376.2715.1.camel@teetnang>
References: <1088438514.3239.97.camel@dicaprio.akademie1.de>
	<40E046B3.2070603@joeconway.com>
	<1088442376.2715.1.camel@teetnang>

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



view thread (6+ messages)  latest in thread

Message-ID: <40E05BD8.6070807@joeconway.com>
Permalink:  ../40E05BD8.6070807@joeconway.com/
Also on:    postgresql.org/message-id/40E05BD8.6070807@joeconway.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: mail@joeconway.com, twanger@bluetwanger.de
  Subject: Re: Empty array IS NULL?
  In-Reply-To: <40E05BD8.6070807@joeconway.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox