Re: Postgresql 8.4.2, Windows XP - temporary file leak: File still referenced - Mailing list pgsql-bugs

From Heikki Linnakangas
Subject Re: Postgresql 8.4.2, Windows XP - temporary file leak: File still referenced
Date
Msg-id 4B3A401A.2080800@enterprisedb.com
Whole thread Raw
In response to Re: Postgresql 8.4.2, Windows XP - temporary file leak: File still referenced  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-bugs
Heikki Linnakangas wrote:
> áÌÅËÓÅÊ wrote:
>> windows or linux.
>> See test script
>
> Hmm, looks like I broke this with the patch to fix the assertion failure
> when a cursor is opeened in a subtransaction and the subtransaction is
> then rolled back. Thanks for the report!
>
> The bug is that when we put tuples to the tuplestore that holds the
> tuples to be returned from the function, the current resource owner is
> the subtransaction resource owner, which is closed at the end of
> subtransaction. I'll fix that.

Fix committed now. Thanks for the report!

--
  Heikki Linnakangas
  EnterpriseDB   http://www.enterprisedb.com

pgsql-bugs by date:

Previous
From: "Ilie, Radu"
Date:
Subject: pg_listener entries deleted under heavy NOTIFY load only on Windows
Next
From: "katherine cubero luna"
Date:
Subject: BUG #5256: Error al abrir postgre