Re: Small query using LATERAL that segfaults Postgres

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tom Ellis <tom-lists-postgresql(dot)org(at)jaguarpaw(dot)co(dot)uk>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: Small query using LATERAL that segfaults Postgres
Date: 2020-07-14 00:40:38
Message-ID: 2782246.1594687238@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Tom Ellis <tom-lists-postgresql(dot)org(at)jaguarpaw(dot)co(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Paquier 2020-07-14 03:54:58 Re: BUG #16526: pg_test_fsync in v12 doesn't run in Windows
Previous Message Bruce Momjian 2020-07-14 00:06:25 Re: BUG #16526: pg_test_fsync in v12 doesn't run in Windows