Re: Latest version of Hot Standby patch - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Latest version of Hot Standby patch
Date
Msg-id 1231867915.28919.14.camel@ebony.2ndQuadrant
Whole thread Raw
In response to Re: Latest version of Hot Standby patch  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-hackers
On Wed, 2009-01-07 at 15:43 +0200, Heikki Linnakangas wrote:
> Normally, GetRunningTransactionData determines the xid of the latest 
> running xid by scanning the procarray. If the subxid cache has 
> overflowed, it simply gives up. Comment there suggests that it could 
> call ReadNewTransactionId() instead, like it does when there's no
> active xids in proc array. I think we should do that, or something
> else to alleviate the problem.
> 
> When there's no xids in the procarray, couldn't we just use 
> latestCompletedXid instead of calling ReadNewTransactionId()?

Done.

-- Simon Riggs           www.2ndQuadrant.comPostgreSQL Training, Services and Support



pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: [BUGS] Status of issue 4593
Next
From: Tom Lane
Date:
Subject: Re: New patch for Column-level privileges