Re: mvcc catalo gsnapshots and TopTransactionContext - Mailing list pgsql-hackers

From Noah Misch
Subject Re: mvcc catalo gsnapshots and TopTransactionContext
Date
Msg-id 20130809211451.GA469413@tornado.leadboat.com
Whole thread Raw
In response to Re: mvcc catalo gsnapshots and TopTransactionContext  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Fri, Aug 09, 2013 at 02:11:46PM -0400, Tom Lane wrote:
> Cache invalidation during abort should *not* lead to any attempt to
> immediately revalidate the cache.  No amount of excuses will make that
> okay.  I have not looked to see just what the path of control is in this
> particular case, but we need to fix it, not paper over it.

+1.  What if (sub)transaction end only manipulated the local invalidation
message queue for later processing?  Actual processing would happen after
CleanupSubTransaction() returns control to the owning xact, or at the start of
the next transaction for a top-level ending.

-- 
Noah Misch
EnterpriseDB                                 http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Stefan Kaltenbrunner
Date:
Subject: Re: [PATCH] Statistics collection for CLUSTER command
Next
From: Noah Misch
Date:
Subject: Re: Proposal: leave a hint when switching logging away from stderr