Skip site navigation (1) Skip section navigation (2)

Re: BUG #4921: ltree @> ltree[] operator shouldn't fail if ltree[] is empty

From: Alan Pinstein <apinstein(at)mac(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4921: ltree @> ltree[] operator shouldn't fail if ltree[] is empty
Date: 2009-07-15 15:36:01
Message-ID: AB6153A6-D214-4341-8CF2-030772BC8BE0@mac.com (view raw or flat)
Thread:
Lists: pgsql-bugs
Yeah, and I don't feel I know enough to answer that.

Thanks for responding! Good luck with your decision.

Regards,

Alan

On Jul 15, 2009, at 11:33 AM, Tom Lane wrote:

> Alan Pinstein <apinstein(at)mac(dot)com> writes:
>> The real solution might be to just convert a 0-dim array into "null"
>> or equivalent and still assert error if dims >= 2?
>
> That's my alternative #1.  The question is whether there's any real
> point in rejecting multi-dimensional arrays here, rather than just
> searching all the elements regardless of the array shape.
>
> 			regards, tom lane


In response to

pgsql-bugs by date

Next:From: Jim MichaelsDate: 2009-07-15 23:10:09
Subject: BUG #4924: pg_restore hangs, does nothing
Previous:From: Tom LaneDate: 2009-07-15 15:33:02
Subject: Re: BUG #4921: ltree @> ltree[] operator shouldn't fail if ltree[] is empty

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group