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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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(-)

Browse pgsql-committers by date

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