Re: BUG #4921: ltree @> ltree[] operator shouldn't fail if ltree[] is empty - Mailing list pgsql-bugs

From Alan Pinstein
Subject Re: BUG #4921: ltree @> ltree[] operator shouldn't fail if ltree[] is empty
Date
Msg-id AB6153A6-D214-4341-8CF2-030772BC8BE0@mac.com
Whole thread Raw
In response to Re: BUG #4921: ltree @> ltree[] operator shouldn't fail if ltree[] is empty  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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@mac.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

pgsql-bugs by date:

Previous
From: Alan Pinstein
Date:
Subject: Re: BUG #4921: ltree @> ltree[] operator shouldn't fail if ltree[] is empty
Next
From: "Jim Michaels"
Date:
Subject: BUG #4924: pg_restore hangs, does nothing