summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2014-07-31 16:48:43 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2014-07-31 16:48:55 +0300
commit54685338e37889eebd473804c3feb006dd83a882 (patch)
tree13e10f54e76fb5d31332367a66a617eeebd0a2d8 /src/backend/access/gist/gist.c
parentf51ead09df19f0a074c07657b7de8dba0f3050d6 (diff)
downloadpostgresql-54685338e37889eebd473804c3feb006dd83a882.tar.gz
Move log_newpage and log_newpage_buffer to xlog.c.
log_newpage is used by many indexams, in addition to heap, but for historical reasons it's always been part of the heapam rmgr. Starting with 9.3, we have another WAL record type for logging an image of a page, XLOG_FPI. Simplify things by moving log_newpage and log_newpage_buffer to xlog.c, and switch to using the XLOG_FPI record type. Bump the WAL version number because the code to replay the old HEAP_NEWPAGE records is removed.
Diffstat (limited to 'src/backend/access/gist/gist.c')
-rw-r--r--src/backend/access/gist/gist.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/backend/access/gist/gist.c b/src/backend/access/gist/gist.c
index e6f06c29e5..f4eb246c91 100644
--- a/src/backend/access/gist/gist.c
+++ b/src/backend/access/gist/gist.c
@@ -16,7 +16,6 @@
#include "access/genam.h"
#include "access/gist_private.h"
-#include "access/heapam_xlog.h"
#include "catalog/index.h"
#include "catalog/pg_collation.h"
#include "miscadmin.h"