Skip site navigation (1) Skip section navigation (2)

pgsql: Truncate predicate lock manager's SLRU lazily at checkpoint.Tha

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Truncate predicate lock manager's SLRU lazily at checkpoint.Tha
Date: 2011-03-08 10:15:28
Message-ID: E1Pwtwu-0000JZ-AD@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Truncate predicate lock manager's SLRU lazily at checkpoint. That's safer
than doing it aggressively whenever the tail-XID pointer is advanced, because
this way we don't need to do it while holding SerializableXactHashLock.

This also fixes bug #5915 spotted by YAMAMOTO Takashi, and removes an
obsolete comment spotted by Kevin Grittner.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/4cd3fb6e1244383fc9f77906e7162de0559ba354

Modified Files
--------------
src/backend/access/transam/xlog.c    |    2 +
src/backend/storage/lmgr/predicate.c |  117 +++++++++++++++++++---------------
src/include/storage/predicate.h      |    2 +
3 files changed, 69 insertions(+), 52 deletions(-)

pgsql-committers by date

Next:From: Michael MeskesDate: 2011-03-08 10:28:33
Subject: pgsql: Added new version of ecpg's parser test script which waswritten
Previous:From: Fujii MasaoDate: 2011-03-08 03:29:06
Subject: Re: pgsql: Basic Recovery Control functions for use in Hot Standby. Pause,

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group