diff options
author | Michael Paquier <michael@paquier.xyz> | 2022-11-05 12:31:28 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2022-11-05 12:31:28 +0900 |
commit | 2a71de8915b41cb1a927fc7870efb138bbcd0b77 (patch) | |
tree | eaf92291fd117a7f5182018f6303aa1091c30319 /src | |
parent | a5ac3e76fe96035db44e8e254f55f333c7a11634 (diff) | |
download | postgresql-2a71de8915b41cb1a927fc7870efb138bbcd0b77.tar.gz postgresql-2a71de8915b41cb1a927fc7870efb138bbcd0b77.zip |
Remove unneeded includes of <sys/stat.h>
Since bfb9dfd, none of the files updated in this commit have any stat()
calls, so these inclusions are not necessary, for the same reasons as
233cf6e.
Per discussion with John Naylor.
Discussion: https://postgr.es/m/CAFBsxsGGGX7KD6RxbNoSJzuSc8Gz3hOxcfhTOMLB_hJcm68dKQ@mail.gmail.com
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/access/heap/rewriteheap.c | 1 | ||||
-rw-r--r-- | src/backend/storage/file/copydir.c | 1 | ||||
-rw-r--r-- | src/timezone/pgtz.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/src/backend/access/heap/rewriteheap.c b/src/backend/access/heap/rewriteheap.c index a34e9b352dc..2fe9e48e500 100644 --- a/src/backend/access/heap/rewriteheap.c +++ b/src/backend/access/heap/rewriteheap.c @@ -102,7 +102,6 @@ */ #include "postgres.h" -#include <sys/stat.h> #include <unistd.h> #include "access/heapam.h" diff --git a/src/backend/storage/file/copydir.c b/src/backend/storage/file/copydir.c index 8a866191e1f..0cea4cbc89d 100644 --- a/src/backend/storage/file/copydir.c +++ b/src/backend/storage/file/copydir.c @@ -20,7 +20,6 @@ #include <fcntl.h> #include <unistd.h> -#include <sys/stat.h> #include "common/file_utils.h" #include "miscadmin.h" diff --git a/src/timezone/pgtz.c b/src/timezone/pgtz.c index 40096ed792e..eff11333a97 100644 --- a/src/timezone/pgtz.c +++ b/src/timezone/pgtz.c @@ -14,7 +14,6 @@ #include <ctype.h> #include <fcntl.h> -#include <sys/stat.h> #include <time.h> #include "common/file_utils.h" |