Re: Small query using LATERAL that segfaults Postgres

From: Tom Ellis <tom-lists-postgresql(dot)org(at)jaguarpaw(dot)co(dot)uk>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: Small query using LATERAL that segfaults Postgres
Date: 2020-07-14 09:00:18
Message-ID: 20200714090018.GA17791@cloudinit-builder
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Mon, Jul 13, 2020 at 08:40:38PM -0400, Tom Lane wrote:
> 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!

Thanks Tom. Could you send a link to the fix? I'd be interested to
see what the problem was.

Tom

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message David Rowley 2020-07-14 09:04:25 Re: Small query using LATERAL that segfaults Postgres
Previous Message PG Bug reporting form 2020-07-14 08:10:23 BUG #16540: Possible corrupted file?