RE: Crash on UNION with PG 17

From: "Regina Obe" <lr(at)pcorp(dot)us>
To: "'David Rowley'" <dgrowleyml(at)gmail(dot)com>
Cc: "'Postgres hackers'" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: RE: Crash on UNION with PG 17
Date: 2024-04-02 19:58:36
Message-ID: 000b01da8538$268f01a0$73ad04e0$@pcorp.us
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

Thanks for the fix. I confirm it works now and our bots are green again.

Regina

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Verite 2024-04-02 20:09:04 Re: psql's FETCH_COUNT (cursor) is not being respected for CTEs
Previous Message Tom Lane 2024-04-02 19:44:08 Re: Fixing backslash dot for COPY FROM...CSV