Re: Incorrect include file order in guc-file.l

From: John Naylor <john(dot)naylor(at)enterprisedb(dot)com>
To: Julien Rouhaud <rjuju123(at)gmail(dot)com>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Incorrect include file order in guc-file.l
Date: 2022-11-02 06:53:21
Message-ID: CAFBsxsHHRfFiw-zrBhGLMUgLK4FzHXH5728BDmUh66_3Ku_dvg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Nov 2, 2022 at 1:01 PM Julien Rouhaud <rjuju123(at)gmail(dot)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.

Yeah. +1, thanks.

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2022-11-02 07:40:16 Re: Code checks for App Devs, using new options for transaction behavior
Previous Message John Naylor 2022-11-02 06:32:37 remap the .text segment into huge pages at run time