Incorrect include file order in guc-file.l
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-11-02T05:29:50Z
Lists: pgsql-hackers
Attachments
- gucfile-include.patch (text/x-diff) patch
Hi all,
While reviewing a different patch, I have noticed that guc-file.l
includes sys/stat.h in the middle of the PG internal headers. The
usual practice is to have first postgres[_fe].h, followed by the
system headers and finally the internal headers. That's a nit, but
all the other files do that.
{be,fe}-secure-openssl.c include some exceptions though, as documented
there.
Thoughts?
--
Michael
Commits
-
Remove unneeded includes of <sys/stat.h>
- 2a71de8915b4 16.0 landed
-
Remove outdated include
- 233cf6e8adfc 16.0 landed
-
Straighten include order in guc-file.l
- 062eef3a9bbd 16.0 landed