postgresql/src
Peter Geoghegan 69cf853fe7 Clear up issue with FSM and oldest bpto.xact.
On further reflection, code comments added by commit b0229f26 slightly
misrepresented how we determine the oldest bpto.xact for the index.
btvacuumpage() does not treat the bpto.xact of a page that it put in the
FSM as a candidate to be the oldest deleted page (the delete-marked page
that has the oldest bpto.xact XID among all pages encountered).

The definition of a deleted page for the purposes of the bpto.xact
calculation is different from the definition used by the bulk delete
statistics.  The bulk delete statistics don't distinguish between pages
that were deleted by the current VACUUM, pages deleted by a previous
VACUUM operation but not yet recyclable/reusable, and pages that are
reusable (though reusable pages are counted separately).

Backpatch: 11-, just like commit b0229f26.
2020-05-01 12:19:44 -07:00
..
backend Clear up issue with FSM and oldest bpto.xact. 2020-05-01 12:19:44 -07:00
bin Put new command-line options into alphabetical order in help output 2020-05-01 11:49:52 +02:00
common Fix update-unicode target 2020-04-19 14:59:29 +02:00
fe_utils Add SQL type xid8 to expose FullTransactionId to users. 2020-04-07 12:03:59 +12:00
include Fix undercounting in VACUUM VERBOSE output. 2020-05-01 09:51:09 -07:00
interfaces Rename connection parameters to control min/max SSL protocol version in libpq 2020-04-30 13:39:10 +09:00
makefiles Remove libpq.rc, use win32ver.rc for libpq 2020-01-15 15:06:12 +01:00
pl Use perl warnings pragma consistently 2020-04-13 11:55:45 -04:00
port Be more careful about extracting encoding from locale strings on Windows. 2020-03-30 11:14:58 -04:00
template Fix compiler warning for ppoll() on Cygwin 2019-12-22 23:20:00 +01:00
test Add nbtree ScalarArrayOpExpr tests. 2020-04-30 14:33:13 -07:00
timezone Update time zone data files to tzdata release 2020a. 2020-04-24 10:54:47 -04:00
tools Update Windows timezone name list to include currently-known zones. 2020-04-24 17:53:23 -04:00
tutorial Update copyrights for 2020 2020-01-01 12:21:45 -05:00
.gitignore
DEVELOPERS
Makefile Fix partial-build problems introduced by having more generated headers. 2018-04-09 16:42:10 -04:00
Makefile.global.in Update Unicode data to Unicode 13.0.0 and CLDR 37 2020-04-24 09:52:59 +02:00
Makefile.shlib Add PostgreSQL home page to --help output 2020-02-28 13:12:21 +01:00
nls-global.mk NLS: Fix backend gettext triggers 2019-09-23 09:04:20 +02:00