pgsql: Fix header inclusion order in xloginsert.c with lz4.h - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Fix header inclusion order in xloginsert.c with lz4.h
Date
Msg-id E1nSUaG-000CJ0-78@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: Re: pgsql: dshash: Add sequential scan support.
Next
From: Michael Paquier
Date:
Subject: pgsql: Add support for zstd with compression of full-page writes in WAL