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

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

From
Michael Paquier
Date:
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(-)