| От | Tom Lane |
|---|---|
| Тема | Re: BUG #15669: Error with unnest in PG 11 (ERROR: 0A000) |
| Дата | |
| Msg-id | 19353.1551800347@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | BUG #15669: Error with unnest in PG 11 (ERROR: 0A000) (PG Bug reporting form <noreply@postgresql.org>) |
| Ответы |
Re: BUG #15669: Error with unnest in PG 11 (ERROR: 0A000)
|
| Список | pgsql-bugs |
PG Bug reporting form <noreply@postgresql.org> writes:
> In PostgreSQL 10.7 and before, it is possible to run the following query:
> thibaut=# WITH test AS ( SELECT array[1,2] AS intarr )
> SELECT unnest(intarr) AS lot_id FROM test WHERE false;
> In version 11.2, the same query fails:
> ERROR: 0A000: set-valued function called in context that cannot accept a set
Hmm, that's definitely a bug. It looks like we're forgetting to make
a ProjectSet plan node for the unnest() if we realize that the query
is a no-op; but I'm not sure why 10.x doesn't have the same issue.
Digging ...
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера