Fix inclusions of postgres_fe.h from .h files.
Tom Lane <tgl@sss.pgh.pa.us>
Fix inclusions of postgres_fe.h from .h files. We have a project policy that every .c file should start by including postgres.h, postgres_fe.h, or c.h as appropriate; and then there is no need for any .h file to explicitly include any of these. Fix a few headers that were violating this policy by including postgres_fe.h. Discussion: https://postgr.es/m/CAEepm=2zCoeq3QxVwhS5DFeUh=yU6z81pbWMgfOB8OzyiBwxzw@mail.gmail.com Discussion: https://postgr.es/m/11634.1488932128@sss.pgh.pa.us
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/ecpg/ecpglib/extern.h | modified | +1 −1 |
| src/interfaces/ecpg/test/pg_regress_ecpg.c | modified | +3 −0 |
| src/interfaces/libpq/libpq-int.h | modified | +0 −1 |
| src/test/isolation/isolation_main.c | modified | +2 −0 |
| src/test/regress/pg_regress.c | modified | +3 −1 |
| src/test/regress/pg_regress.h | modified | +0 −1 |
| src/test/regress/pg_regress_main.c | modified | +2 −0 |
Discussion
- WIP: [[Parallel] Shared] Hash 83 messages · 2016-11-01 → 2017-11-30
- Removing #include "postgres.h" from a couple of headers 5 messages · 2017-03-08