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

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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alan Pinstein <apinstein(at)mac(dot)com>
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:33:02
Message-ID: 23246.1247671982@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
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

Responses

pgsql-bugs by date

Next:From: Alan PinsteinDate: 2009-07-15 15:36:01
Subject: Re: BUG #4921: ltree @> ltree[] operator shouldn't fail if ltree[] is empty
Previous:From: Marko KreenDate: 2009-07-15 15:31:25
Subject: Re: [PERFORM] BUG #4919: CREATE USER command slows down system performance

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