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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #4921: ltree @> ltree[] operator shouldn't fail if ltree[] is empty
Дата
Msg-id 8992.1267030089@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #4921: ltree @> ltree[] operator shouldn't fail if ltree[] is empty  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: BUG #4921: ltree @> ltree[] operator shouldn't fail if ltree[] is empty
Список pgsql-bugs
Bruce Momjian <bruce@momjian.us> writes:
> Tom Lane wrote:
>>> I can see two reasonable ways to address this:
>>>
>>> * Change the ltree test to reject only ARR_NDIM > 1.
>>>
>>> * Drop the ARR_NDIM check altogether, and let it search any sort of
>>> array.
>>>
>>> I'm leaning to #2 myself.  However, there are probably other places with
>>> the same kind of issue, and in some of them it might make more sense to
>>> reject multidimensional arrays.
>>
>> Thoughts?

> Do something.  ;-)  LOL

I'll drop the check then.

            regards, tom lane

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Lou Picciano
Дата:
Сообщение: Re: PostgreSQL-9.0alpha: jade required?
Следующее
От: Joe Conway
Дата:
Сообщение: Re: PostgreSQL-9.0alpha: jade required?