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

2022-11-04 Thread Michael Paquier
On Fri, Nov 04, 2022 at 07:55:20AM +0700, John Naylor wrote: > I've removed it. Thanks. Aha, there were three more of these, as of rewriteheap.c, copydir.c and pgtz.c that I also forgot to clean up in bfb9dfd.. -- Michael signature.asc Description: PGP signature

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

2022-11-03 Thread John Naylor
On Fri, Nov 4, 2022 at 5:42 AM Michael Paquier wrote: > > The CI is able to complete without it. Would you mind if it is > removed? If you don't want us to poke more at the bear, that's a nit > so leaving things as they are is also fine by me. I've removed it. -- John Naylor EDB: http://www.en

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

2022-11-03 Thread Michael Paquier
On Thu, Nov 03, 2022 at 07:19:07PM +0700, John Naylor wrote: > Because it wouldn't compile otherwise, obviously. :-) > > I must have been working on it before bfb9dfd93720 Hehe, my fault then ;p The CI is able to complete without it. Would you mind if it is removed? If you don't want us to pok

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

2022-11-03 Thread John Naylor
On Thu, Nov 3, 2022 at 6:40 PM Michael Paquier wrote: > > On Thu, Nov 03, 2022 at 12:40:19PM +0700, John Naylor wrote: > > On Wed, Nov 2, 2022 at 1:01 PM Julien Rouhaud wrote: > >> Agreed, it's apparently an oversight in dac048f71eb. +1 for the patch. > > > > I've pushed this, thanks! > > Thanks

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

2022-11-03 Thread Michael Paquier
On Thu, Nov 03, 2022 at 12:40:19PM +0700, John Naylor wrote: > On Wed, Nov 2, 2022 at 1:01 PM Julien Rouhaud wrote: >> Agreed, it's apparently an oversight in dac048f71eb. +1 for the patch. > > I've pushed this, thanks! Thanks for the commit. I've wanted to get it done yesterday but life took

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

2022-11-02 Thread John Naylor
On Wed, Nov 2, 2022 at 1:01 PM Julien Rouhaud 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 t

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

2022-11-01 Thread John Naylor
On Wed, Nov 2, 2022 at 1:01 PM Julien Rouhaud 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 t

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

2022-11-01 Thread Julien Rouhaud
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 fi