Re: Crash on UNION with PG 17

From: David Rowley <dgrowleyml(at)gmail(dot)com>
To: Regina Obe <lr(at)pcorp(dot)us>
Cc: Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Crash on UNION with PG 17
Date: 2024-04-01 23:25:09
Message-ID: CAApHDvq4gwZeOrkD3mm2=_SG3i_0xr7VJeQz=ucdgxyK794fSQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, 28 Mar 2024 at 04:34, Regina Obe <lr(at)pcorp(dot)us> wrote:
> 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;

As of d5d2205c8, this query should work as expected.

Thank you for letting us know about this.

David

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2024-04-01 23:28:40 Re: Why is parula failing?
Previous Message David Rowley 2024-04-01 23:22:38 Re: Properly pathify the union planner