Re: Add missing includes

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: "Tristan Partin" <tristan@neon.tech>
Cc: "Alvaro Herrera" <alvherre@alvh.no-ip.org>, pgsql-hackers@postgresql.org
Date: 2023-05-22T15:34:14Z
Lists: pgsql-hackers
"Tristan Partin" <tristan@neon.tech> writes:
> Interesting. Thanks for the information. Thought I had seen in a
> different email thread that header files were supposed to include all
> that they needed to. Anyways, ignore the patch :).

There is such a policy, but not with respect to those particular
headers.  You might find src/tools/pginclude/headerscheck and
src/tools/pginclude/cpluspluscheck to be interesting reading,
as those are the tests we run to verify this policy.

			regards, tom lane



Commits

  1. Doc: update src/tools/pginclude/README.