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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-bugs by date

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