Re: Segment fault when excuting SPI function On PG with commit 41c6a5be - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Segment fault when excuting SPI function On PG with commit 41c6a5be
Date
Msg-id YRImF0/J7HQlpkPa@paquier.xyz
Whole thread Raw
In response to Re: Segment fault when excuting SPI function On PG with commit 41c6a5be  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Fri, Jul 30, 2021 at 11:22:43AM -0400, Tom Lane wrote:
> Happy to make it so.  Anyone have suggestions about the wording of
> the message?

For the archives, this has been applied as of ef12f32, and the new
message seems explicit enough:
+   if (unlikely(portal == NULL))
+       elog(ERROR, "cannot execute SQL without an outer snapshot or portal");
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: fix DECLARE tab completion
Next
From: Michael Paquier
Date:
Subject: Re: [PATCH] test/ssl: rework the sslfiles Makefile target