pgsql: Truncate the predicate lock SLRU to empty, instead of almost emp

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Truncate the predicate lock SLRU to empty, instead of almost emp
Дата
Msg-id E1Q8Ifn-00053E-Vb@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Tweak collation setup for GIN index comparison functions.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix make_greater_string to not have an undocumented collation as