Re: pgsql: Make the order of the header file includes consistent in non-bac

2019-10-25 Thread Michael Paquier
On Fri, Oct 25, 2019 at 03:21:13PM +0530, Amit Kapila wrote: > Reverted and the buildfarm is green again. Thanks! Thanks for fixing, and the follow-up thread. (Just saw the rest as well.) -- Michael signature.asc Description: PGP signature

Re: pgsql: Make the order of the header file includes consistent in non-bac

2019-10-25 Thread Amit Kapila
On Fri, Oct 25, 2019 at 11:47 AM Michael Paquier wrote: > > On Fri, Oct 25, 2019 at 09:32:29AM +0530, Amit Kapila wrote: > > One possible reason could be that pgtypeslib_extern.h has define like below: > > #ifndef bool > > #define bool char > > #endif /* ndef bool */ > > Possible. I have not look

Re: pgsql: Make the order of the header file includes consistent in non-bac

2019-10-25 Thread Amit Kapila
On Fri, Oct 25, 2019 at 1:30 PM Andrew Gierth wrote: > > > "Amit" == Amit Kapila writes: > > Amit> BTW, prairiedog is also show similar failure and both seems to > Amit> have similar OS except for versions. > > Be aware that prairiedog and locust (unlike the rest of the buildfarm) > have co

Re: pgsql: Make the order of the header file includes consistent in non-bac

2019-10-25 Thread Andrew Gierth
> "Amit" == Amit Kapila writes: Amit> BTW, prairiedog is also show similar failure and both seems to Amit> have similar OS except for versions. Be aware that prairiedog and locust (unlike the rest of the buildfarm) have compilers whose "bool" type is not 1 byte long; PG can't use that, so

Re: pgsql: Make the order of the header file includes consistent in non-bac

2019-10-24 Thread Michael Paquier
On Fri, Oct 25, 2019 at 09:32:29AM +0530, Amit Kapila wrote: > One possible reason could be that pgtypeslib_extern.h has define like below: > #ifndef bool > #define bool char > #endif /* ndef bool */ Possible. I have not looked closely. > It is possible that all the functions that have bool has

Re: pgsql: Make the order of the header file includes consistent in non-bac

2019-10-24 Thread Amit Kapila
On Fri, Oct 25, 2019 at 9:32 AM Amit Kapila wrote: > > On Fri, Oct 25, 2019 at 8:54 AM Amit Kapila wrote: > > > > > And the cause is visibly this portion of the commit: > > > --- a/src/interfaces/ecpg/pgtypeslib/dt_common.c > > > +++ b/src/interfaces/ecpg/pgtypeslib/dt_common.c > > > @@ -7,9 +7,9

Re: pgsql: Make the order of the header file includes consistent in non-bac

2019-10-24 Thread Amit Kapila
On Fri, Oct 25, 2019 at 8:54 AM Amit Kapila wrote: > > On Fri, Oct 25, 2019 at 8:47 AM Michael Paquier wrote: > > > > Hi Amit, > > > > On Fri, Oct 25, 2019 at 02:24:50AM +, Amit Kapila wrote: > > > Make the order of the header file includes consistent in non-backend > > > modules. > > > > >

Re: pgsql: Make the order of the header file includes consistent in non-bac

2019-10-24 Thread Amit Kapila
On Fri, Oct 25, 2019 at 8:47 AM Michael Paquier wrote: > > Hi Amit, > > On Fri, Oct 25, 2019 at 02:24:50AM +, Amit Kapila wrote: > > Make the order of the header file includes consistent in non-backend > > modules. > > > > Similar to commit 7e735035f2, this commit makes the order of header fi

Re: pgsql: Make the order of the header file includes consistent in non-bac

2019-10-24 Thread Michael Paquier
Hi Amit, On Fri, Oct 25, 2019 at 02:24:50AM +, Amit Kapila wrote: > Make the order of the header file includes consistent in non-backend modules. > > Similar to commit 7e735035f2, this commit makes the order of header file > inclusion consistent for non-backend modules. > > In passing, fix t

pgsql: Make the order of the header file includes consistent in non-bac

2019-10-24 Thread Amit Kapila
Make the order of the header file includes consistent in non-backend modules. Similar to commit 7e735035f2, this commit makes the order of header file inclusion consistent for non-backend modules. In passing, fix the case where we were using angle brackets (<>) for the local module includes inste