Fix header inclusion order in xloginsert.c with lz4.h
authorMichael Paquier <michael@paquier.xyz>
Fri, 11 Mar 2022 01:59:47 +0000 (10:59 +0900)
committerMichael Paquier <michael@paquier.xyz>
Fri, 11 Mar 2022 01:59:47 +0000 (10:59 +0900)
commit0071fc71277e51723eeb4856eeeb5d25600a429a
treec6ae8956363de86e710ba6b3720d5ea693d46b20
parent352d297dc74feb0bf0dcb255cc0dfaaed2b96c1e
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.
src/backend/access/transam/xloginsert.c