pgsql: Fix brin index summarizing while vacuuming.

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема pgsql: Fix brin index summarizing while vacuuming.
Дата
Msg-id E1ZY1bD-00058C-0I@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix brin index summarizing while vacuuming.

If the number of heap blocks is not multiples of pages per range, the
summarizing produces wrong summary information for the last brin index
tuple while vacuuming.

Problem reported by Tatsuo Ishii and fixed by Amit Langote.

Discussion at "[HACKERS] BRIN INDEX value (message id :20150903.174935.1946402199422994347.t-ishii@sraoss.co.jp)
Backpatched to 9.5 in which brin index was added.

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/b1cbc8529d076b71c9c2f8403139f7235072a357

Modified Files
--------------
src/backend/access/brin/brin.c |    9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix subtransaction cleanup after an outer-subtransaction portal
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: pgsql: Fix brin index summarizing while vacuuming.