pgsql: Remove inappropriate inclusions of c.h and postgres_fe.h.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove inappropriate inclusions of c.h and postgres_fe.h.
Date: 2025-04-27 20:59:04
Message-ID: E1u995b-0025Jy-2e@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove inappropriate inclusions of c.h and postgres_fe.h.

Per our usual policy, Postgres header files should not include these;
the decision as to which one to use is to be made in the calling .c
file instead.

These errors aren't particularly new, but I'm not feeling a need
to back-patch these changes; it's mostly just neatnik-ism.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2f5b05620330baed1648a1a6e2f231c7ba1368d1

Modified Files
--------------
src/bin/pg_combinebackup/copy_file.h | 1 -
src/include/fe_utils/option_utils.h | 2 --
src/include/fe_utils/query_utils.h | 2 --
3 files changed, 5 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alexander Korotkov 2025-04-27 22:42:20 pgsql: Disallow removing placeholders during Self-Join Elimination.
Previous Message Tom Lane 2025-04-27 17:23:25 pgsql: Don't use double-quotes in #include's of system headers, redux.