postgresql/src/backend/storage
Michael Paquier 017e78a3ed Extend PageIsVerified() to handle more custom options
This is useful for checks of relation pages without having to load the
pages into the shared buffers, and two cases can make use of that: page
verification in base backups and the online, lock-safe, flavor.

Compatibility is kept with past versions using a routine that calls the
new extended routine with the set of options compatible with the
original version.  Contrary to d401c576, a macro cannot be used as there
may be external code relying on the presence of the original routine.

This is applied down to 11, where this will be used by a follow-up
commit addressing a set of issues with page verification in base
backups.

Extracted from a larger patch by the same author.

Author: Anastasia Lubennikova
Reviewed-by: Michael Paquier, Julien Rouhaud
Discussion: https://postgr.es/m/608f3476-0598-2514-2c03-e05c7d2b0cbd@postgrespro.ru
Backpatch-through: 11
2020-11-02 10:41:23 +09:00
..
buffer Extend PageIsVerified() to handle more custom options 2020-11-02 10:41:23 +09:00
file Fix error message. 2020-07-23 21:15:01 +12:00
freespace Initial pgindent and pgperltidy run for v13. 2020-05-14 13:06:50 -04:00
ipc Avoid invalid alloc size error in shm_mq 2020-10-20 14:09:16 +02:00
large_object Remove utils/acl.h from catalog/objectaddress.h 2020-03-10 10:27:00 +01:00
lmgr doc: Fix some grammar and inconsistencies 2020-09-10 15:50:42 +09:00
page Extend PageIsVerified() to handle more custom options 2020-11-02 10:41:23 +09:00
smgr Clear some style deviations. 2020-05-21 08:31:16 -07:00
sync Use correct and consistent unit abbreviation 2020-06-01 21:18:36 +02:00
Makefile Refactor the fsync queue for wider use. 2019-04-04 23:38:38 +13:00