Re: stupid subselect core dumps - Mailing list pgsql-hackers

From Vadim B. Mikheev
Subject Re: stupid subselect core dumps
Date
Msg-id 34EA7F5E.FDCD8854@sable.krasnoyarsk.su
Whole thread Raw
In response to stupid subselect core dumps  ("Thomas G. Lockhart" <lockhart@alumni.caltech.edu>)
List pgsql-hackers
Thomas G. Lockhart wrote:
>
> I know this is too simple to be useful, but it was the first test case I
> tried for a regression test :)
>
> regression=> SELECT 1 AS one WHERE 1 IN (SELECT 1);
> PQexec() -- Request was sent to backend, but backend closed the channel
> before responding.
>         This probably means the backend terminated abnormally before or
> while processing the request.
>
> Should we disallow parts of this in or near the parser, or can the
> backend possibly handle it?

Fixed. Patch for nodeResult.c follows.

Vadim

Attachment

pgsql-hackers by date:

Previous
From: "Thomas G. Lockhart"
Date:
Subject: stupid subselect core dumps
Next
From: Peter T Mount
Date:
Subject: Re: [HACKERS] Memory leaks for large objects