Re: Switching timeline over streaming replication - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Switching timeline over streaming replication
Date
Msg-id 15005.1352991326@sss.pgh.pa.us
Whole thread Raw
In response to Re: Switching timeline over streaming replication  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Responses Re: Switching timeline over streaming replication  (Heikki Linnakangas <hlinnakangas@vmware.com>)
List pgsql-hackers
Heikki Linnakangas <hlinnakangas@vmware.com> writes:
> This is a fairly general issue, actually. Looking around, I can see at 
> least two similar cases in existing code, with BasicOpenFile, where we 
> will leak file descriptors on error:

Um, don't we automatically clean those up during transaction abort?
If we don't, we ought to think about that, not about cluttering calling
code with certain-to-be-inadequate cleanup in error cases.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: [PATCH 02/14] Add support for a generic wal reading facility dubbed XLogReader
Next
From: Shigeru Hanada
Date:
Subject: Re: FDW for PostgreSQL