Truncate the predicate lock SLRU to empty, instead of almost empty.
Otherwise, the SLRU machinery can get confused and think that the SLRU
has wrapped around. Along the way, regardless of whether we're
truncating all of the SLRU or just some of it, flush pages after
truncating, rather than before.
Kevin Grittner
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/cdcdfca40199bbdb30c78d105e4db267b631289c
Modified Files
--------------
src/backend/storage/lmgr/predicate.c | 26 +++++++++++++++++++-------
1 files changed, 19 insertions(+), 7 deletions(-)