pgsql: Remove fmgr.h includes from headers that don't really need it. - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: Remove fmgr.h includes from headers that don't really need it.
Date
Msg-id E1hykR2-00075V-1E@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Remove fmgr.h includes from headers that don't really need it.

Most of the fmgr.h includes were obsoleted by 352a24a1f9d6f7d4abb1. A
few others can be obsoleted using the underlying struct type in an
implementation detail.

Author: Andres Freund
Discussion: https://postgr.es/m/20190803193733.g3l3x3o42uv4qj7l@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/fb3b098fe88441f9531a5169008ea17eac01301f

Modified Files
--------------
src/backend/access/common/printsimple.c     | 1 -
src/backend/nodes/makefuncs.c               | 1 -
src/backend/replication/logical/logical.c   | 1 +
src/backend/replication/pgoutput/pgoutput.c | 2 ++
src/include/access/brin.h                   | 1 -
src/include/access/gist_private.h           | 1 -
src/include/access/hash.h                   | 1 -
src/include/access/spgist.h                 | 1 -
src/include/commands/async.h                | 2 --
src/include/executor/executor.h             | 1 +
src/include/jit/llvmjit_emit.h              | 1 -
src/include/nodes/execnodes.h               | 1 +
src/include/nodes/pathnodes.h               | 3 +--
src/include/pgstat.h                        | 4 ++--
src/include/replication/origin.h            | 1 -
src/include/replication/slot.h              | 1 -
src/include/replication/walreceiver.h       | 1 -
src/include/replication/walsender.h         | 2 --
src/include/utils/bytea.h                   | 1 -
src/include/utils/formatting.h              | 2 --
src/include/utils/rel.h                     | 3 +--
src/include/utils/snapmgr.h                 | 1 -
src/include/utils/tuplesort.h               | 1 -
23 files changed, 9 insertions(+), 25 deletions(-)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: Remove redundant prototypes for SQL callable functions.
Next
From: Andres Freund
Date:
Subject: pgsql: Add missing fmgr.h include.