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 Meskes | Date: 2011-03-08 10:28:33 |
| Subject: pgsql: Added new version of ecpg's parser test script which waswritten |
| Previous: | From: Fujii Masao | Date: 2011-03-08 03:29:06 |
| Subject: Re: pgsql: Basic Recovery Control functions for use in
Hot Standby. Pause, |