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(-) -- Sent via pgsql-committers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers
