diff options
author | Michael Paquier <michael@paquier.xyz> | 2022-03-12 09:39:13 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2022-03-12 09:39:13 +0900 |
commit | 8e375ea4a0e95dd0d74f11c439cce4498bf80bd7 (patch) | |
tree | bd2a73cba94ab820bbda64b68e111bb6589561bf | |
parent | 3a46a45f6f009785b46188ed862afbccfb4cf56a (diff) | |
download | postgresql-8e375ea4a0e95dd0d74f11c439cce4498bf80bd7.tar.gz postgresql-8e375ea4a0e95dd0d74f11c439cce4498bf80bd7.zip |
Bump XLOG_PAGE_MAGIC due to the addition of wal_compression=zstd
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.GN28503@telsasoft.com
-rw-r--r-- | doc/src/sgml/config.sgml | 2 | ||||
-rw-r--r-- | src/include/access/xlog_internal.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 9773d94568e..5b763bf60f4 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -3158,7 +3158,7 @@ include_dir 'conf.d' <literal>lz4</literal> (if <productname>PostgreSQL</productname> was compiled with <option>--with-lz4</option>) and <literal>zstd</literal> (if <productname>PostgreSQL</productname> - was compiled with <option>--with-zstd</option>) and + was compiled with <option>--with-zstd</option>). The default value is <literal>off</literal>. Only superusers can change this setting. </para> diff --git a/src/include/access/xlog_internal.h b/src/include/access/xlog_internal.h index 849954a8e5a..0e94833129a 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 0xD10E /* can be used as WAL version indicator */ +#define XLOG_PAGE_MAGIC 0xD10F /* can be used as WAL version indicator */ typedef struct XLogPageHeaderData { |