pgsql: Remove unused #include's from bin .c files - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Remove unused #include's from bin .c files
Date
Msg-id E1t8d56-000Rcg-H1@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Extend Cluster.pm's background_psql() to be able to start asynch
Next
From: Thomas Munro
Date:
Subject: pgsql: Monkey-patch LLVM code to fix ARM relocation bug.