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 0a666d28-9080-4239-90d6-f6345bb43468@gmail.com
Whole thread Raw
In response to Re: pgsql: Drop unnamed portal immediately after execution to completion  (Michael Paquier <michael@paquier.xyz>)
Responses Re: pgsql: Drop unnamed portal immediately after execution to completion
List pgsql-hackers
Hi Michael,

I think I found a gap in the tests we added previously for documenting 
the current behaviour. See attached patch for your consideration.

What's interesting about the holdable cursors scenario is that as far as 
I can tell the temp files are cleaned up during PersistHoldablePortal 
instead of PortalDrop.


Kind regards,

Mircea Cadariu


Attachment

pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: [Patch] Mention md5 is deprecated in postgresql.conf.sample
Next
From: Andrew Dunstan
Date:
Subject: Re: Uncommented GUC in postgresql.conf.sample