summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorPeter Eisentraut2024-11-06 10:06:58 +0000
committerPeter Eisentraut2024-11-06 10:11:52 +0000
commitecb5af779877ad3f84e60112ecf0b138e97b847c (patch)
treeb671117a934a2ed223cac69da6510f390de533f3 /src/common
parentba08edb065459fca62191c020362022efd42b522 (diff)
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
Diffstat (limited to 'src/common')
-rw-r--r--src/common/controldata_utils.c2
-rw-r--r--src/common/string.c1
-rw-r--r--src/common/unicode_case.c1
3 files changed, 1 insertions, 3 deletions
diff --git a/src/common/controldata_utils.c b/src/common/controldata_utils.c
index 82309b25107..52d4702ce87 100644
--- a/src/common/controldata_utils.c
+++ b/src/common/controldata_utils.c
@@ -28,8 +28,8 @@
#include "access/xlog_internal.h"
#include "catalog/pg_control.h"
#include "common/controldata_utils.h"
-#include "common/file_perm.h"
#ifdef FRONTEND
+#include "common/file_perm.h"
#include "common/logging.h"
#endif
#include "port/pg_crc32c.h"
diff --git a/src/common/string.c b/src/common/string.c
index ce9f2bc7ca5..4c42ae299b5 100644
--- a/src/common/string.c
+++ b/src/common/string.c
@@ -22,7 +22,6 @@
#endif
#include "common/string.h"
-#include "lib/stringinfo.h"
/*
diff --git a/src/common/unicode_case.c b/src/common/unicode_case.c
index 291e256e639..542e7ea5378 100644
--- a/src/common/unicode_case.c
+++ b/src/common/unicode_case.c
@@ -17,7 +17,6 @@
#include "common/unicode_case.h"
#include "common/unicode_case_table.h"
-#include "common/unicode_category.h"
#include "mb/pg_wchar.h"
static const pg_case_map *find_case_map(pg_wchar ucs);