Re: BUG #2694: Memory allocation error when selecting array of empty arrays
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: BUG #2694: Memory allocation error when selecting array of empty arrays |
| Дата | |
| Msg-id | 20200.1161008642@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | BUG #2694: Memory allocation error when selecting array of empty arrays ("Vitali Stupin" <Vitali.Stupin@ria.ee>) |
| Ответы |
Re: BUG #2694: Memory allocation error when selecting array
|
| Список | pgsql-bugs |
"Vitali Stupin" <Vitali.Stupin@ria.ee> writes:
> The error "invalid memory alloc request size 4294967293" apears when
> selecting array of empty arrays:
> select ARRAY['{}'::text[],'{}'::text[]];
I can get a core dump off it too, sometimes. The problem is in
ExecEvalArray, which computes the dimension of the result as [1:2]
even though there are no elements to put in it.
Joe, what do you think about this? Offhand I think that the only
workable definition is that this case yields another zero-dimensional
array, but maybe there is another choice?
We should probably check all the other array operations to see if they
have comparable problems.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера