Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2a71de8

Browse files
committed
Remove unneeded includes of <sys/stat.h>
Sincebfb9dfd, none of the files updated in this commit have any stat()calls, so these inclusions are not necessary, for the same reasons as233cf6e.Per discussion with John Naylor.Discussion:https://postgr.es/m/CAFBsxsGGGX7KD6RxbNoSJzuSc8Gz3hOxcfhTOMLB_hJcm68dKQ@mail.gmail.com
1 parenta5ac3e7 commit2a71de8

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

‎src/backend/access/heap/rewriteheap.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@
102102
*/
103103
#include"postgres.h"
104104

105-
#include<sys/stat.h>
106105
#include<unistd.h>
107106

108107
#include"access/heapam.h"

‎src/backend/storage/file/copydir.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020

2121
#include<fcntl.h>
2222
#include<unistd.h>
23-
#include<sys/stat.h>
2423

2524
#include"common/file_utils.h"
2625
#include"miscadmin.h"

‎src/timezone/pgtz.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
#include<ctype.h>
1616
#include<fcntl.h>
17-
#include<sys/stat.h>
1817
#include<time.h>
1918

2019
#include"common/file_utils.h"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp