mirror of
https://github.com/postgres/postgres.git
synced 2025-04-27 22:56:53 +03:00
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:
parent
3a46a45f6f
commit
8e375ea4a0
@ -3158,7 +3158,7 @@ include_dir 'conf.d'
|
|||||||
<literal>lz4</literal> (if <productname>PostgreSQL</productname>
|
<literal>lz4</literal> (if <productname>PostgreSQL</productname>
|
||||||
was compiled with <option>--with-lz4</option>) and
|
was compiled with <option>--with-lz4</option>) and
|
||||||
<literal>zstd</literal> (if <productname>PostgreSQL</productname>
|
<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>.
|
The default value is <literal>off</literal>.
|
||||||
Only superusers can change this setting.
|
Only superusers can change this setting.
|
||||||
</para>
|
</para>
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
/*
|
/*
|
||||||
* Each page of XLOG file has a header like this:
|
* 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
|
typedef struct XLogPageHeaderData
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user