postgresql/src
Peter Geoghegan 07eef53955 Use scanned_pages to decide when to failsafe check.
Perform a failsafe check every time VACUUM's first heap scan scans a
further FAILSAFE_EVERY_PAGES pages, rather than using an approach based
on the number of physical blocks that our current blkno is from the
blkno at the time of the previous failsafe check.  That way VACUUM will
perform a failsafe check every time it has scanned a uniform number of
pages, without it mattering when or how VACUUM skipped pages using the
visibility map.

Sami Imseih, with changes to FAILSAFE_EVERY_PAGES comments added by me.

Author: Sami Imseih <simseih@amazon.com>
Reviewed-By: Peter Geoghegan <pg@bowt.ie>
Discussion: https://postgr.es/m/401CE010-4049-4B94-9961-0B610A5D254D%40amazon.com
2022-12-22 10:41:40 -08:00
..
backend Use scanned_pages to decide when to failsafe check. 2022-12-22 10:41:40 -08:00
bin Make more consistent some translated strings related to compression 2022-12-21 10:39:06 +09:00
common Add copyright notices to meson files 2022-12-20 07:54:39 -05:00
fe_utils Add copyright notices to meson files 2022-12-20 07:54:39 -05:00
include Refactor how VACUUM passes around its XID cutoffs. 2022-12-22 09:37:59 -08:00
interfaces Add copyright notices to meson files 2022-12-20 07:54:39 -05:00
makefiles Add copyright notices to meson files 2022-12-20 07:54:39 -05:00
pl Add copyright notices to meson files 2022-12-20 07:54:39 -05:00
port Add copyright notices to meson files 2022-12-20 07:54:39 -05:00
template Move darwin sysroot determination into separate file 2022-09-01 16:54:19 -07:00
test Use existing SSL certs in LDAP tests instead of generating them 2022-12-20 10:02:49 -05:00
timezone Add copyright notices to meson files 2022-12-20 07:54:39 -05:00
tools Create infrastructure for "soft" error reporting. 2022-12-09 09:58:38 -05:00
tutorial Doc: sync src/tutorial/basics.source with SGML documentation. 2022-11-19 13:09:14 -05:00
.gitignore
DEVELOPERS
Makefile Remove the option to build thread_test.c outside configure. 2020-10-21 12:08:48 -04:00
Makefile.global.in autoconf: Move export_dynamic determination to configure 2022-12-06 18:55:28 -08:00
Makefile.shlib autoconf: Rely on ar supporting index creation 2022-10-07 11:53:39 -07:00
meson.build Add copyright notices to meson files 2022-12-20 07:54:39 -05:00
nls-global.mk Fix for make unportability 2022-07-13 09:15:01 +02:00