Re: Ordering of header file inclusion
Amit Kapila <amit.kapila16@gmail.com>
From: Amit Kapila <amit.kapila16@gmail.com>
To: vignesh C <vignesh21@gmail.com>, Tom Lane <tgl@sss.pgh.pa.us>
Cc: Kuntal Ghosh <kuntalghosh.2007@gmail.com>, Peter Eisentraut <peter.eisentraut@2ndquadrant.com>,
Andres Freund <andres@anarazel.de>, Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2019-11-23T05:53:26Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Make the order of the header file includes consistent.
- e0487223ecac 13.0 landed
-
Make the order of the header file includes consistent in backend modules.
- 14aec0350230 13.0 landed
-
Make the order of the header file includes consistent in non-backend modules.
- dddf4cdc3300 13.0 landed
-
Make the order of the header file includes consistent in contrib modules.
- 7e735035f208 13.0 landed
On Fri, Nov 22, 2019 at 8:07 PM Tom Lane <tgl@sss.pgh.pa.us> wrote: > > vignesh C <vignesh21@gmail.com> writes: > > After the inclusion they have define and further include based on #if > > defined. In few cases I had seen the include happens at the end of the > > file like in regcomp.c as there may be impact. I felt it is better not > > to change these files. Let me know your thoughts on the same. > > I think the point of this patch series is just to make cosmetic > adjustments in places where people have randomly failed to maintain > alphabetic order of a consecutive group of #include's. Messing with > examples like the above is way out of scope, if you ask me --- it > entails more analysis, and more risk of breakage, than a purely > cosmetic goal is worth. > +1. I agree with what Tom said, so let's leave such things as it is. -- With Regards, Amit Kapila. EnterpriseDB: http://www.enterprisedb.com