Re: BUG #4921: ltree @> ltree[] operator shouldn't fail if ltree[] is empty
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: BUG #4921: ltree @> ltree[] operator shouldn't fail if ltree[] is empty |
| Дата | |
| Msg-id | 8730.1267029482@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:
> Was this ever addressed?
No, it doesn't look like the code's been changed. I was looking for
some comments about which to do:
>> 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?
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера