pgsql: Remove unused #include's from backend .c files

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove unused #include's from backend .c files
Date: 2024-10-27 07:32:12
Message-ID: E1t4xky-002euU-Vu@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove unused #include's from backend .c files

as determined by IWYU

These are mostly issues that are new since commit dbbca2cf299.

Discussion: https://www.postgresql.org/message-id/flat/0df1d5b1-8ca8-4f84-93be-121081bde049%40eisentraut.org

Branch
------
master

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

Modified Files
--------------
src/backend/access/brin/brin_bloom.c | 1 -
src/backend/access/gin/ginvacuum.c | 1 -
src/backend/access/heap/vacuumlazy.c | 2 --
src/backend/access/nbtree/nbtree.c | 3 ---
src/backend/access/nbtree/nbtsort.c | 1 -
src/backend/access/sequence/sequence.c | 2 +-
src/backend/access/transam/slru.c | 2 +-
src/backend/access/transam/xlog.c | 2 --
src/backend/access/transam/xlogwait.c | 2 --
src/backend/backup/basebackup.c | 1 -
src/backend/backup/basebackup_incremental.c | 2 --
src/backend/catalog/pg_depend.c | 1 -
src/backend/commands/analyze.c | 2 --
src/backend/commands/cluster.c | 1 -
src/backend/commands/copyfromparse.c | 1 -
src/backend/commands/createas.c | 2 --
src/backend/commands/indexcmds.c | 1 -
src/backend/commands/vacuum.c | 1 -
src/backend/executor/nodeBitmapHeapscan.c | 1 -
src/backend/executor/nodeHash.c | 1 -
src/backend/lib/integerset.c | 1 -
src/backend/libpq/be-secure-gssapi.c | 2 +-
src/backend/libpq/be-secure-openssl.c | 3 +--
src/backend/main/main.c | 1 -
src/backend/parser/gram.y | 4 ----
src/backend/parser/parse_clause.c | 2 --
src/backend/parser/parse_expr.c | 2 --
src/backend/parser/parse_jsontable.c | 4 +---
src/backend/postmaster/auxprocess.c | 5 -----
src/backend/postmaster/launch_backend.c | 26 +++++++++-----------------
src/backend/postmaster/postmaster.c | 5 +----
src/backend/postmaster/walwriter.c | 2 --
src/backend/replication/logical/slotsync.c | 2 --
src/backend/replication/slotfuncs.c | 4 ----
src/backend/storage/aio/read_stream.c | 1 -
src/backend/storage/buffer/buf_init.c | 1 -
src/backend/storage/file/fd.c | 1 -
src/backend/storage/ipc/ipci.c | 2 --
src/backend/storage/ipc/sinvaladt.c | 1 -
src/backend/storage/lmgr/lmgr.c | 1 -
src/backend/storage/lmgr/lock.c | 1 -
src/backend/storage/lmgr/s_lock.c | 1 -
src/backend/storage/page/checksum.c | 2 +-
src/backend/storage/smgr/bulk_write.c | 1 -
src/backend/tcop/fastpath.c | 1 -
src/backend/tcop/postgres.c | 1 -
src/backend/utils/Gen_fmgrtab.pl | 1 -
src/backend/utils/activity/backend_progress.c | 1 -
src/backend/utils/activity/backend_status.c | 2 --
src/backend/utils/activity/pgstat.c | 1 -
src/backend/utils/activity/pgstat_relation.c | 1 -
src/backend/utils/activity/wait_event.c | 1 -
src/backend/utils/adt/float.c | 1 -
src/backend/utils/adt/jsonpath_exec.c | 2 --
src/backend/utils/adt/pg_upgrade_support.c | 1 -
src/backend/utils/adt/waitfuncs.c | 2 +-
src/backend/utils/hash/pg_crc.c | 2 +-
src/backend/utils/misc/injection_point.c | 7 ++++---
src/backend/utils/misc/pg_config.c | 1 -
59 files changed, 22 insertions(+), 108 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Geoghegan 2024-10-27 14:38:37 pgsql: Fix obsolete nbtree split buffer comment.
Previous Message Jeff Davis 2024-10-25 23:32:55 pgsql: Refactor the code to create a pg_locale_t into new function.