From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix header inclusion order in xloginsert.c with lz4.h
Date: Fri, 11 Mar 2022 02:00:48 +0000
Message-ID: <E1nSUaG-000CJ0-78@gemulon.postgresql.org> (raw)
Fix header inclusion order in xloginsert.c with lz4.h
Per project policy, all system and library headers need to be declared
in the backend code after "postgres.h" and before the internal headers,
but 4035cd5 broke this policy when adding support for LZ4 in
wal_compression.
Noticed while reviewing the patch to add support for zstd in this area.
This only impacts HEAD, so there is no need for a back-patch.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/0071fc71277e51723eeb4856eeeb5d25600a429a
Modified Files
--------------
src/backend/access/transam/xloginsert.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: michael@paquier.xyz
Subject: Re: pgsql: Fix header inclusion order in xloginsert.c with lz4.h
In-Reply-To: <E1nSUaG-000CJ0-78@gemulon.postgresql.org>
References: <E1nSUaG-000CJ0-78@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox