pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix brin index summarizing while vacuuming.
2+ messages / 1 participants
[nested] [flat]

* pgsql: Fix brin index summarizing while vacuuming.
@ 2015-09-05 00:44  Tatsuo Ishii <ishii@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Tatsuo Ishii @ 2015-09-05 00:44 UTC (permalink / raw)
  To: 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(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Fix brin index summarizing while vacuuming.
@ 2015-09-05 00:44  Tatsuo Ishii <ishii@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Tatsuo Ishii @ 2015-09-05 00:44 UTC (permalink / raw)
  To: 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
------
master

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

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


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2015-09-05 00:44 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-09-05 00:44 pgsql: Fix brin index summarizing while vacuuming. Tatsuo Ishii <ishii@postgresql.org>
2015-09-05 00:44 pgsql: Fix brin index summarizing while vacuuming. Tatsuo Ishii <ishii@postgresql.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox