Bump XLOG_PAGE_MAGIC due to the addition of wal_compression=zstd
authorMichael Paquier
Sat, 12 Mar 2022 00:39:13 +0000 (09:39 +0900)
committerMichael Paquier
Sat, 12 Mar 2022 00:39:13 +0000 (09:39 +0900)
While on it, fix a thinko in the docs, introduced by the same commit.

Oversights in e953732.

Reported-by: Justin Pryzby
Discussion: https://postgr.es/m/20220311214900[email protected]

doc/src/sgml/config.sgml
src/include/access/xlog_internal.h

index 9773d94568ec7da01d8496adaf0638829b7d1bd8..5b763bf60f408a934425f475e4aecd40c363b031 100644 (file)
@@ -3158,7 +3158,7 @@ include_dir 'conf.d'
         lz4 (if PostgreSQL
         was compiled with ) and
         zstd (if PostgreSQL
-        was compiled with ) and
+        was compiled with ).
         The default value is off.
         Only superusers can change this setting.
        
index 849954a8e5a1c5221d378b92d5e8fb57bbd5d018..0e94833129a3815f851fc080f7088ec68866d3bf 100644 (file)
@@ -31,7 +31,7 @@
 /*
  * Each page of XLOG file has a header like this:
  */
-#define XLOG_PAGE_MAGIC 0xD10E /* can be used as WAL version indicator */
+#define XLOG_PAGE_MAGIC 0xD10F /* can be used as WAL version indicator */
 
 typedef struct XLogPageHeaderData
 {