Skip to content

Commit 8e375ea

Browse files
committed
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
1 parent 3a46a45 commit 8e375ea

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/src/sgml/config.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3158,7 +3158,7 @@ include_dir 'conf.d'
31583158
<literal>lz4</literal> (if <productname>PostgreSQL</productname>
31593159
was compiled with <option>--with-lz4</option>) and
31603160
<literal>zstd</literal> (if <productname>PostgreSQL</productname>
3161-
was compiled with <option>--with-zstd</option>) and
3161+
was compiled with <option>--with-zstd</option>).
31623162
The default value is <literal>off</literal>.
31633163
Only superusers can change this setting.
31643164
</para>

src/include/access/xlog_internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
/*
3232
* Each page of XLOG file has a header like this:
3333
*/
34-
#define XLOG_PAGE_MAGIC 0xD10E /* can be used as WAL version indicator */
34+
#define XLOG_PAGE_MAGIC 0xD10F /* can be used as WAL version indicator */
3535

3636
typedef struct XLogPageHeaderData
3737
{

0 commit comments

Comments
 (0)