pgbackrest.git / summary / log / commit / refs

commit    339f4ee72ab0fa2a46885575a197f0487014dfd3
Author:   David Steele <david@pgbackrest.org>
Date:     Wed Nov 05 21:04:04 2025 +0000

    Remove unused BlockNumber type.
    
    If this type was ever used it is not used now.


src/postgres/interface/static.vendor.h | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/src/postgres/interface/static.vendor.h b/src/postgres/interface/static.vendor.h index c77942c21..8d72eb174 100644 --- a/src/postgres/interface/static.vendor.h +++ b/src/postgres/interface/static.vendor.h @@ -76,28 +76,6 @@ typedef struct ItemIdData lp_len:15; /* byte length of tuple */ } ItemIdData; -/*********************************************************************************************************************************** -Types from src/include/storage/block.h -***********************************************************************************************************************************/ - -// BlockNumber type -// --------------------------------------------------------------------------------------------------------------------------------- -/* - * BlockNumber: - * - * each data file (heap or index) is divided into postgres disk blocks - * (which may be thought of as the unit of i/o -- a postgres buffer - * contains exactly one disk block). the blocks are numbered - * sequentially, 0 to 0xFFFFFFFE. - * - * InvalidBlockNumber is the same thing as P_NEW in bufmgr.h. - * - * the access methods, the buffer manager and the storage manager are - * more or less the only pieces of code that should be accessing disk - * blocks directly. - */ -typedef uint32 BlockNumber; - /*********************************************************************************************************************************** Types from src/include/storage/bufpage.h ***********************************************************************************************************************************/ [parent: 8749601e6da1]