mirror of
https://github.com/postgres/postgres.git
synced 2025-11-25 12:03:53 +03:00
Revert pg_relation_check_pages()
This reverts the following set of commits, following complaints about the lack of portability of the central part of the code in bufmgr.c as well as the use of partition mapping locks during page reads:c780a7a9f2b88396b787d4cece7f772c60a51c6bPer discussion with Andres Freund, Robert Haas and myself. Bump catalog version. Discussion: https://postgr.es/m/20201029181729.2nrub47u7yqncsv7@alap3.anarazel.de
This commit is contained in:
@@ -240,9 +240,6 @@ extern void AtProcExit_LocalBuffers(void);
|
||||
|
||||
extern void TestForOldSnapshot_impl(Snapshot snapshot, Relation relation);
|
||||
|
||||
extern bool CheckBuffer(struct SMgrRelationData *smgr, ForkNumber forknum,
|
||||
BlockNumber blkno);
|
||||
|
||||
/* in freelist.c */
|
||||
extern BufferAccessStrategy GetAccessStrategy(BufferAccessStrategyType btype);
|
||||
extern void FreeAccessStrategy(BufferAccessStrategy strategy);
|
||||
|
||||
Reference in New Issue
Block a user