Re: BUG #19370: PG18 returns incorrect array slice results when slice bounds depend on another array expression

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #19370: PG18 returns incorrect array slice results when slice bounds depend on another array expression
Дата
Msg-id 1609722.1767726093@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #19370: PG18 returns incorrect array slice results when slice bounds depend on another array expression  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
I wrote:
> Andres Freund <andres@anarazel.de> writes:
>> At the very least we need to create a simplified testcase for the bug at hand.

> Yup, the sudoku example is fun but it seems inappropriate as a test
> case.

This seems simple enough:

regression=# with cte as
(select array[g,2] as a from generate_series(1,3) g)
select a[2], a[(select a[2])] from cte;
server closed the connection unexpectedly

            regards, tom lane



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