Re: pgsql: Drop unnamed portal immediately after execution to completion - Mailing list pgsql-hackers

From Mircea Cadariu
Subject Re: pgsql: Drop unnamed portal immediately after execution to completion
Date
Msg-id 00d71a54-2118-4b18-87e8-33f4a99dc624@gmail.com
Whole thread Raw
In response to Re: pgsql: Drop unnamed portal immediately after execution to completion  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: pgsql: Drop unnamed portal immediately after execution to completion
List pgsql-hackers

Hi,

I understand the point that’s been raised. Would it be an option to indeed revert the portal drop in postgres.c, but then append the right query in the "temporary file: ..." log line instead? This would work at least for me.

Attached is a POC patch (contains a layering violation, hoping it could be avoided somehow).

Kind regards,

Mircea Cadariu

Attachment

pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: mxid and mxoff wraparound issues in pg_upgrade
Next
From: Michael Paquier
Date:
Subject: Re: Extended Statistics set/restore/clear functions.