Content-Length: 272102 | pFad | http://github.com/postgrespro/postgres/commit/eaa1f7220ae83997b56adcae1fbb7b2e92bfc050

84 Remove unused NextLogPage macro · postgrespro/postgres@eaa1f72 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/eaa1f7220ae83997b56adcae1fbb7b2e92bfc050

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy