1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2026-06-20 01:17:49 +02:00

Remove unused BlockNumber type.

If this type was ever used it is not used now.
This commit is contained in:
David Steele
2025-11-05 23:04:04 +02:00
parent 8749601e6d
commit 339f4ee72a
-22
View File
@@ -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
***********************************************************************************************************************************/