postgresql/src/backend/utils
Fujii Masao 41c184bc64 Add GUC ignore_invalid_pages.
Detection of WAL records having references to invalid pages
during recovery causes PostgreSQL to raise a PANIC-level error,
aborting the recovery. Setting ignore_invalid_pages to on causes
the system to ignore those WAL records (but still report a warning),
and continue recovery. This behavior may cause crashes, data loss,
propagate or hide corruption, or other serious problems.
However, it may allow you to get past the PANIC-level error,
to finish the recovery, and to cause the server to start up.

Author: Fujii Masao
Reviewed-by: Michael Paquier
Discussion: https://www.postgresql.org/message-id/CAHGQGwHCK6f77yeZD4MHOnN+PaTf6XiJfEB+Ce7SksSHjeAWtg@mail.gmail.com
2020-01-22 11:56:34 +09:00
..
adt Further tweaking of jsonb_set_lax(). 2020-01-20 14:26:56 -05:00
cache Update copyrights for 2020 2020-01-01 12:21:45 -05:00
error Update copyrights for 2020 2020-01-01 12:21:45 -05:00
fmgr Update copyrights for 2020 2020-01-01 12:21:45 -05:00
hash Update copyrights for 2020 2020-01-01 12:21:45 -05:00
init Update copyrights for 2020 2020-01-01 12:21:45 -05:00
mb Rationalize code placement between wchar.c, encnames.c, and mbutils.c. 2020-01-16 18:08:21 -05:00
misc Add GUC ignore_invalid_pages. 2020-01-22 11:56:34 +09:00
mmgr Allocate freechunks bitmap as part of SlabContext 2020-01-17 15:29:11 +01:00
resowner Update copyrights for 2020 2020-01-01 12:21:45 -05:00
sort Update copyrights for 2020 2020-01-01 12:21:45 -05:00
time Update copyrights for 2020 2020-01-01 12:21:45 -05:00
.gitignore Rearrange makefile rules for running Gen_fmgrtab.pl. 2018-05-03 17:54:18 -04:00
errcodes.txt Update copyrights for 2020 2020-01-01 12:21:45 -05:00
Gen_dummy_probes.pl Update copyrights for 2020 2020-01-01 12:21:45 -05:00
Gen_dummy_probes.sed Update copyrights for 2020 2020-01-01 12:21:45 -05:00
Gen_fmgrtab.pl Update copyrights for 2020 2020-01-01 12:21:45 -05:00
generate-errcodes.pl Update copyrights for 2020 2020-01-01 12:21:45 -05:00
Makefile Update copyrights for 2020 2020-01-01 12:21:45 -05:00
probes.d Update copyrights for 2020 2020-01-01 12:21:45 -05:00