Re: Incorrect include file order in guc-file.l - Mailing list pgsql-hackers

From John Naylor
Subject Re: Incorrect include file order in guc-file.l
Date
Msg-id CAFBsxsFiFFrqMhJdZq8NB6taRyM1o2rFWKx-6bi9Q_Qhzh93fw@mail.gmail.com
Whole thread Raw
In response to Re: Incorrect include file order in guc-file.l  (Julien Rouhaud <rjuju123@gmail.com>)
Responses Re: Incorrect include file order in guc-file.l
List pgsql-hackers

On Wed, Nov 2, 2022 at 1:01 PM Julien Rouhaud <rjuju123@gmail.com> wrote:
>
> Hi,
>
> On Wed, Nov 02, 2022 at 02:29:50PM +0900, Michael Paquier wrote:
> >
> > 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.
>
> Agreed, it's apparently an oversight in dac048f71eb.  +1 for the patch.

I've pushed this, thanks!

--
John Naylor
EDB: http://www.enterprisedb.com

pgsql-hackers by date:

Previous
From: John Naylor
Date:
Subject: Re: [PoC] Improve dead tuple storage for lazy vacuum
Next
From: Antonin Houska
Date:
Subject: Re: Privileges on PUBLICATION