Re: So what's an "empty" array anyway? - Mailing list pgsql-hackers

From David E. Wheeler
Subject Re: So what's an "empty" array anyway?
Date
Msg-id 4A92F109-CE17-4F16-A46A-0B48D01DB828@kineticode.com
Whole thread Raw
In response to Re: So what's an "empty" array anyway?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Oct 21, 2008, at 14:16, Tom Lane wrote:

> Well, we can't do that because it would clearly break too much  
> existing
> code.  '{}' has got to result in something you can successfully
> concatenate more elements to.

Right, that's what I was trying to day. Badly, I guess.

> But either the current behavior with
> a zero-dimension array, or a one-dimensional length-zero array would
> presumably work okay.

Right, that sounds right to me.

Thanks,

David


pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Bitmap Indexes: request for feedback
Next
From: Tom Lane
Date:
Subject: Re: pg_ctl less than useful error message on windows when privileges wrong for postgres