aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2012-12-27 18:23:23 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2012-12-27 18:23:23 -0300
commiteaa1f7220ae83997b56adcae1fbb7b2e92bfc050 (patch)
treeccaea172412910600ad7b489034a5da8094c196f
parent925ce77c0359eff9310f7954294f257dafb0c2db (diff)
downloadpostgresql-eaa1f7220ae83997b56adcae1fbb7b2e92bfc050.tar.gz
postgresql-eaa1f7220ae83997b56adcae1fbb7b2e92bfc050.zip
Remove unused NextLogPage macro
Commit 061e7efb1b did away with its last caller, but neglected to remove the actual definition. Author: Andres Freund
-rw-r--r--src/include/access/xlog_internal.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/include/access/xlog_internal.h b/src/include/access/xlog_internal.h
index 0acebd4e287..1443f96998f 100644
--- a/src/include/access/xlog_internal.h
+++ b/src/include/access/xlog_internal.h
@@ -120,17 +120,6 @@ typedef XLogLongPageHeaderData *XLogLongPageHeader;
(dest) = (segno) * XLOG_SEG_SIZE + (offset)
/*
- * Macros for manipulating XLOG pointers
- */
-
-/* Align a record pointer to next page */
-#define NextLogPage(recptr) \
- do { \
- if ((recptr) % XLOG_BLCKSZ != 0) \
- XLByteAdvance(recptr, (XLOG_BLCKSZ - (recptr) % XLOG_BLCKSZ)); \
- } while (0)
-
-/*
* Compute ID and segment from an XLogRecPtr.
*
* For XLByteToSeg, do the computation at face value. For XLByteToPrevSeg,