Skip to content

Commit eaa1f72

Browse files
committed
Remove unused NextLogPage macro
Commit 061e7ef did away with its last caller, but neglected to remove the actual definition. Author: Andres Freund
1 parent 925ce77 commit eaa1f72

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/include/access/xlog_internal.h

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -119,17 +119,6 @@ typedef XLogLongPageHeaderData *XLogLongPageHeader;
119119
#define XLogSegNoOffsetToRecPtr(segno, offset, dest) \
120120
(dest) = (segno) * XLOG_SEG_SIZE + (offset)
121121

122-
/*
123-
* Macros for manipulating XLOG pointers
124-
*/
125-
126-
/* Align a record pointer to next page */
127-
#define NextLogPage(recptr) \
128-
do { \
129-
if ((recptr) % XLOG_BLCKSZ != 0) \
130-
XLByteAdvance(recptr, (XLOG_BLCKSZ - (recptr) % XLOG_BLCKSZ)); \
131-
} while (0)
132-
133122
/*
134123
* Compute ID and segment from an XLogRecPtr.
135124
*

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy