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
This commit is contained in:
Michael Paquier 2022-03-12 09:39:13 +09:00
parent 3a46a45f6f
commit 8e375ea4a0
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View 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
{