From: | Simon Riggs <simon(at)2ndQuadrant(dot)com> |
---|---|
To: | Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com> |
Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Latest version of Hot Standby patch |
Date: | 2009-01-13 17:31:55 |
Message-ID: | 1231867915.28919.14.camel@ebony.2ndQuadrant |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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.com
PostgreSQL Training, Services and Support
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2009-01-13 17:33:30 | Re: New patch for Column-level privileges |
Previous Message | Kevin Grittner | 2009-01-13 17:29:02 | Re: [BUGS] Status of issue 4593 |