postgresql/src/backend/access
Heikki Linnakangas 766dcfb16c Fix off-by-one error in calculating subtrans/multixact truncation point.
If there were no subtransactions (or multixacts) active, we would calculate
the oldestxid == next xid. That's correct, but if next XID happens to be
on the next pg_subtrans (pg_multixact) page, the page does not exist yet,
and SimpleLruTruncate will produce an "apparent wraparound" warning. The
warning is harmless in this case, but looks very alarming to users.

Backpatch to all supported versions. Patch and analysis by Thomas Munro.
2015-07-23 01:29:59 +03:00
..
brin Improve BRIN documentation somewhat 2015-07-20 12:16:40 +02:00
common Remove obsolete heap_formtuple/modifytuple/deformtuple functions. 2015-07-02 21:21:23 +03:00
gin Initialize GIN metapage correctly when replaying metapage-update WAL record. 2015-06-30 00:06:00 +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 some oversights in BRIN patch. 2015-07-21 13:38:24 -04:00
index pgindent run for 9.5 2015-05-23 21:35:49 -04:00
nbtree Don't call PageGetSpecialPointer() on page until it's been initialized. 2015-06-30 13:41:30 +03:00
rmgrdesc Use appendStringInfoString/Char et al where appropriate. 2015-07-02 12:36:03 +03:00
spgist Sanity-check that a page zeroed by redo routine is marked with WILL_INIT. 2015-07-20 22:34:01 +03:00
tablesample Remove useless check for NULL subexpression. 2015-06-30 12:53:54 -04:00
transam Fix off-by-one error in calculating subtrans/multixact truncation point. 2015-07-23 01:29:59 +03:00
Makefile TABLESAMPLE, SQL Standard and extensible 2015-05-15 14:37:10 -04:00