pgsql: Fix header inclusion order in xloginsert.c with lz4.h

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix header inclusion order in xloginsert.c with lz4.h
Date: 2022-03-11 02:00:48
Message-ID: E1nSUaG-000CJ0-78@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2022-03-11 03:19:54 pgsql: Add support for zstd with compression of full-page writes in WAL
Previous Message Andres Freund 2022-03-11 01:27:12 Re: pgsql: dshash: Add sequential scan support.