pgsql: Remove unused #include's from bin .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 bin .c files
Date: 2024-11-06 10:16:08
Message-ID: E1t8d56-000Rcg-H1@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove unused #include's from bin .c files

as determined by IWYU

Similar to commit dbbca2cf299, but for bin and some related files.

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

Branch
------
master

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

Modified Files
--------------
src/bin/pg_basebackup/pg_createsubscriber.c | 3 +--
src/bin/pg_basebackup/pg_recvlogical.c | 2 --
src/bin/pg_basebackup/receivelog.c | 1 -
src/bin/pg_basebackup/streamutil.c | 2 --
src/bin/pg_basebackup/walmethods.c | 4 ++--
src/bin/pg_checksums/pg_checksums.c | 1 -
src/bin/pg_combinebackup/copy_file.h | 1 -
src/bin/pg_combinebackup/pg_combinebackup.c | 2 +-
src/bin/pg_config/pg_config.c | 1 -
src/bin/pg_dump/common.c | 2 --
src/bin/pg_dump/compress_io.c | 1 -
src/bin/pg_dump/filter.c | 1 -
src/bin/pg_dump/parallel.c | 2 ++
src/bin/pg_dump/pg_backup_custom.c | 1 -
src/bin/pg_dump/pg_backup_db.c | 2 --
src/bin/pg_dump/pg_backup_utils.c | 2 ++
src/bin/pg_dump/pg_dump.c | 2 --
src/bin/pg_dump/pg_dump_sort.c | 1 -
src/bin/pg_dump/pg_restore.c | 1 -
src/bin/pg_rewind/datapagemap.h | 1 -
src/bin/pg_rewind/libpq_source.c | 1 -
src/bin/pg_rewind/local_source.c | 4 +---
src/bin/pg_rewind/pg_rewind.h | 4 ----
src/bin/pg_test_fsync/pg_test_fsync.c | 1 -
src/bin/pg_upgrade/check.c | 2 --
src/bin/pg_upgrade/relfilenumber.c | 2 --
src/bin/pg_walsummary/pg_walsummary.c | 1 -
src/bin/psql/command.c | 3 ---
src/bin/psql/describe.c | 1 -
src/bin/psql/help.c | 3 ---
src/bin/scripts/clusterdb.c | 1 -
src/bin/scripts/common.c | 1 -
src/bin/scripts/reindexdb.c | 1 -
src/common/controldata_utils.c | 2 +-
src/common/string.c | 1 -
src/common/unicode_case.c | 1 -
src/fe_utils/astreamer_file.c | 1 -
src/fe_utils/astreamer_gzip.c | 2 --
src/fe_utils/astreamer_lz4.c | 2 --
39 files changed, 10 insertions(+), 57 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2024-11-06 10:27:46 pgsql: Monkey-patch LLVM code to fix ARM relocation bug.
Previous Message Michael Paquier 2024-11-06 06:31:49 pgsql: Extend Cluster.pm's background_psql() to be able to start asynch