Re: Pg18 Recursive Crash

From: David Rowley <dgrowleyml(at)gmail(dot)com>
To: Nathan Bossart <nathandbossart(at)gmail(dot)com>
Cc: Paul Ramsey <pramsey(at)cleverelephant(dot)ca>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Pg18 Recursive Crash
Date: 2024-12-16 21:20:46
Message-ID: CAApHDvoAVy4v8Mm7nPi-qCBp+9b_9OhdT93A8NJ2gnc_zbq5AA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, 17 Dec 2024 at 07:10, Nathan Bossart <nathandbossart(at)gmail(dot)com> wrote:
> On Mon, Dec 16, 2024 at 09:50:39AM -0800, Paul Ramsey wrote:
> > CREATE TABLE foo (id integer, x integer, y integer);
> > INSERT INTO foo VALUES (1, 0, 1);
> > INSERT INTO foo VALUES (2, 1, 2);
> > INSERT INTO foo VALUES (3, 2, 3);
> >
> > WITH RECURSIVE path (id, x, y) AS (
> > SELECT id, x, y FROM foo WHERE id = 1
> > UNION
> > SELECT foo.id, foo.x, foo.y
> > FROM path, foo
> > WHERE path.y = foo.x
> > )
> > SELECT 'crash', id, x, y FROM path;
>
> git-bisect is pointing me to https://postgr.es/c/0f57382. Here is the
> trace I'm seeing:

Thanks for the report and bisection. Looking now.

David

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Joe Conway 2024-12-16 21:27:11 Re: Add CASEFOLD() function.
Previous Message Melanie Plageman 2024-12-16 21:00:02 Log connection establishment timings