Re: check point segments leakage ? - Mailing list pgsql-hackers

From Rod Taylor
Subject Re: check point segments leakage ?
Date
Msg-id 1090456756.23763.12.camel@jester
Whole thread Raw
In response to Re: check point segments leakage ?  (Simon Riggs <simon@2ndquadrant.com>)
Responses Re: check point segments leakage ?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> What happens when a transaction fails to either commit or abort as a
> result of a serious error?
> 
> That looks like a transaction-in-progress doesn't it? 
> 
> Would that prevent VACUUM from doing its work? It should be able to
> check the last startup xid to check that isn't the case, but suppose a
> backend had exited without taking down the postmaster.

I don't know if this is the case now or not (I imagine it's pretty good
at cleaning up at the moment), but if we implemented 2 Phase Commit this
logic would need to be removed as transactions need to cross database
restarts.



pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Why we really need timelines *now* in PITR
Next
From: Tom Lane
Date:
Subject: Re: Why we really need timelines *now* in PITR