aboutsummaryrefslogtreecommitdiff
path: root/src/include/access/xlog_internal.h
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2017-03-20 15:49:09 -0400
committerRobert Haas <rhaas@postgresql.org>2017-03-20 15:49:09 -0400
commit953477ca3526e28f9aeeb41d23b16eed0084c7d2 (patch)
treead1b7373e82044025156843cbc9c80965d44d7f1 /src/include/access/xlog_internal.h
parentbc18126a6bcb85b51dc082c3ef4417dc016ebd9c (diff)
downloadpostgresql-953477ca3526e28f9aeeb41d23b16eed0084c7d2.tar.gz
postgresql-953477ca3526e28f9aeeb41d23b16eed0084c7d2.zip
Fixes for single-page hash index vacuum.
Clear LH_PAGE_HAS_DEAD_TUPLES during replay, similar to what gets done for btree. Update hashdesc.c for xl_hash_vacuum_one_page. Oversights in commit 6977b8b7f4dfb40896ff5e2175cad7fdbda862eb spotted by Amit Kapila. Patch by Ashutosh Sharma. Bump WAL version. The original patch to make hash indexes write-ahead logged probably should have done this, and the single page vacuuming patch probably should have done it again, but better late than never. Discussion: http://postgr.es/m/CAA4eK1Kd=mJ9xreovcsh0qMiAj-QqCphHVQ_Lfau1DR9oVjASQ@mail.gmail.com
Diffstat (limited to 'src/include/access/xlog_internal.h')
-rw-r--r--src/include/access/xlog_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/access/xlog_internal.h b/src/include/access/xlog_internal.h
index b8b15f18752..7957cab98c6 100644
--- a/src/include/access/xlog_internal.h
+++ b/src/include/access/xlog_internal.h
@@ -31,7 +31,7 @@
/*
* Each page of XLOG file has a header like this:
*/
-#define XLOG_PAGE_MAGIC 0xD095 /* can be used as WAL version indicator */
+#define XLOG_PAGE_MAGIC 0xD096 /* can be used as WAL version indicator */
typedef struct XLogPageHeaderData
{