Re: Crash on UNION with PG 17

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: Crash on UNION with PG 17
Дата
Msg-id CAApHDvrMjAKsCnmrLHbhBGeX+HG93VSFUD1-xpnvXa1d6fF6sQ@mail.gmail.com
обсуждение исходный текст
Ответ на [MASSMAIL]Crash on UNION with PG 17  ("Regina Obe" <lr@pcorp.us>)
Список pgsql-hackers
On Thu, 28 Mar 2024 at 04:34, Regina Obe <lr@pcorp.us> wrote:
> The issue can be exercised without postgis installed as follows:
>
>
> CREATE TABLE edge_data AS
> SELECT i AS edge_id, i + 1 AS start_node, i + 2 As end_node
> FROM generate_series(1,10) AS i;
>
>   WITH edge AS (
>     SELECT start_node, end_node
>     FROM edge_data
>     WHERE edge_id = 1
>   )
>   SELECT start_node id FROM edge UNION
>   SELECT end_node FROM edge;

Thanks for the report.

There's some discussion about this in [1] along with a proposed way to
fix it.  The proposed fix does alter the function signature of an
important and externally visible planner function, so will be waiting
for some feedback on that before moving ahead with fixing.

[1] https://www.postgresql.org/message-id/242fc7c6-a8aa-2daf-ac4c-0a231e2619c1@gmail.com

David



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

Предыдущее
От: Jelte Fennema-Nio
Дата:
Сообщение: Re: Possibility to disable `ALTER SYSTEM`
Следующее
От: Jelte Fennema-Nio
Дата:
Сообщение: Re: Possibility to disable `ALTER SYSTEM`