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 23246.1247671982@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #4921: ltree @> ltree[] operator shouldn't fail if ltree[] is empty  ("Alan Pinstein" <apinstein@mac.com>)
Ответы Re: BUG #4921: ltree @> ltree[] operator shouldn't fail if ltree[] is empty  (Alan Pinstein <apinstein@mac.com>)
Список pgsql-bugs
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 по дате отправления:

Предыдущее
От: Marko Kreen
Дата:
Сообщение: Re: [PERFORM] BUG #4919: CREATE USER command slows down system performance
Следующее
От: Alan Pinstein
Дата:
Сообщение: Re: BUG #4921: ltree @> ltree[] operator shouldn't fail if ltree[] is empty