postgresql/src/backend/access
Tatsuo Ishii c39f5674df 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.
2015-09-05 09:19:25 +09:00
..
brin Fix brin index summarizing while vacuuming. 2015-09-05 09:19:25 +09:00
common Reduce lock levels for ALTER TABLE SET autovacuum storage options 2015-08-14 14:19:28 +01:00
gin Allow usage of huge maintenance_work_mem for GIN build. 2015-09-02 20:08:58 +03:00
gist pgindent run for 9.5 2015-05-23 21:35:49 -04:00
hash Remove unnecessary variables in _hash_splitbucket(). 2015-04-03 16:49:44 -04:00
heap Fix a number of places that produced XX000 errors in the regression tests. 2015-08-02 23:49:19 -04:00
index Plug RLS related information leak in pg_stats view. 2015-07-28 13:21:22 -07:00
nbtree Avoid calling PageGetSpecialPointer() on an all-zeros page. 2015-07-27 12:24:27 +03:00
rmgrdesc Use appendStringInfoString/Char et al where appropriate. 2015-07-02 12:36:03 +03:00
spgist Don't assume that PageIsEmpty() returns true on an all-zeros page. 2015-07-27 18:54:09 +03:00
tablesample Dodge portability issue (apparent compiler bug) in new tablesample code. 2015-07-25 19:42:32 -04:00
transam Fix subtransaction cleanup after an outer-subtransaction portal fails. 2015-09-04 13:37:14 -04:00
Makefile TABLESAMPLE, SQL Standard and extensible 2015-05-15 14:37:10 -04:00