Re: Small query using LATERAL that segfaults Postgres - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Small query using LATERAL that segfaults Postgres
Date
Msg-id 2782246.1594687238@sss.pgh.pa.us
Whole thread Raw
In response to Small query using LATERAL that segfaults Postgres  (Tom Ellis <tom-lists-postgresql.org@jaguarpaw.co.uk>)
Responses Re: Small query using LATERAL that segfaults Postgres  (Tom Ellis <tom-lists-postgresql.org@jaguarpaw.co.uk>)
List pgsql-bugs
Tom Ellis <tom-lists-postgresql.org@jaguarpaw.co.uk> writes:
> This small query seems to segfault Postgres.  I've tried on the
> version of Postgres 11 that comes with Debian Stable and all versions
> on https://www.db-fiddle.com/ including 13 (Beta).  DB Fiddle actually
> says "An unexpected error occurred." but I suspect that's the
> segfault.

Hm, looks like this has been wrong since we introduced LATERAL :-(.
I pushed a band-aid fix.  Thanks for the report!

            regards, tom lane



pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: BUG #16526: pg_test_fsync in v12 doesn't run in Windows
Next
From: Michael Paquier
Date:
Subject: Re: BUG #16526: pg_test_fsync in v12 doesn't run in Windows