mirror of
https://github.com/postgres/postgres.git
synced 2025-05-11 05:41:32 +03:00
Remove PageSizeIsValid from BufferGetPageSize.
This commit is contained in:
parent
e8291f7ce2
commit
9453940a85
@ -6,7 +6,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 1994, Regents of the University of California
|
* Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $Id: bufpage.h,v 1.14 1998/01/13 04:05:11 scrappy Exp $
|
* $Id: bufpage.h,v 1.15 1998/01/13 14:56:15 vadim Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -272,9 +272,7 @@ typedef enum
|
|||||||
*/
|
*/
|
||||||
/* XXX dig out of buffer descriptor */
|
/* XXX dig out of buffer descriptor */
|
||||||
#define BufferGetPageSize(buffer) \
|
#define BufferGetPageSize(buffer) \
|
||||||
(AssertMacro(BufferIsValid(buffer)) ? \
|
(AssertMacro(BufferIsValid(buffer)) ? (Size)BLCKSZ : false)
|
||||||
AssertMacro(PageSizeIsValid(pageSize)) ? \
|
|
||||||
((Size)BLCKSZ) : false : false)
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* BufferGetPage --
|
* BufferGetPage --
|
||||||
|
Loading…
x
Reference in New Issue
Block a user