postgresql/src/backend
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
..
access Fix brin index summarizing while vacuuming. 2015-09-05 09:19:25 +09:00
bootstrap pgindent run for 9.5 2015-05-23 21:35:49 -04:00
catalog Allow pg_create_physical_replication_slot() to reserve WAL. 2015-08-11 12:34:31 +02:00
commands Fix subtransaction cleanup after an outer-subtransaction portal fails. 2015-09-04 13:37:14 -04:00
executor Avoid O(N^2) behavior when enlarging SPI tuple table in spi_printtup(). 2015-08-21 20:32:11 -04:00
foreign Code review for foreign/custom join pushdown patch. 2015-05-10 14:36:36 -04:00
lib Avoid use of float arithmetic in bipartite_match.c. 2015-08-23 13:02:18 -04:00
libpq Actually, it's not that hard to merge the Windows pqsignal code ... 2015-08-31 15:52:56 -04:00
main Revoke support for strxfrm() that write past the specified array length. 2015-07-08 20:44:21 -04:00
nodes Rename 'cmd' to 'cmd_name' in CreatePolicyStmt 2015-08-21 08:22:22 -04:00
optimizer Undo mistaken tightening in join_is_legal(). 2015-08-12 21:19:03 -04:00
parser Rename 'cmd' to 'cmd_name' in CreatePolicyStmt 2015-08-21 08:22:22 -04:00
po Translation updates 2015-06-28 23:56:55 -04:00
port Rely on inline functions even if that causes warnings in older compilers. 2015-08-05 18:19:52 +02:00
postmaster Allow notifications to bgworkers without database connections. 2015-09-01 15:30:19 -04:00
regex Fix some possible low-memory failures in regexp compilation. 2015-08-12 00:48:11 -04:00
replication Don't use function definitions looking like old-style ones. 2015-08-15 17:25:00 +02:00
rewrite Ensure locks are acquired on RLS-added relations 2015-08-28 11:39:37 -04:00
snowball Remove no-longer-required function declarations. 2015-05-24 12:20:23 -04:00
storage Assorted code review for recent ProcArrayLock patch. 2015-09-03 13:19:15 -04:00
tcop Fix subtransaction cleanup after an outer-subtransaction portal fails. 2015-09-04 13:37:14 -04:00
tsearch pgindent run for 9.5 2015-05-23 21:35:49 -04:00
utils Fix subtransaction cleanup after an outer-subtransaction portal fails. 2015-09-04 13:37:14 -04:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
Makefile AIX: Link the postgres executable with -Wl,-brtllib. 2015-07-15 21:00:26 -04:00
common.mk Remove maintainer-check target, fold into normal build 2013-10-10 20:11:56 -04:00
nls.mk Translation updates 2015-02-01 23:23:40 -05:00