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

Commit940c1c7

Browse files
committed
Include c.h instead of postgres.h in src/port/*p{read,write}*.c
Frontend code shouldn't include postgres.h. Some files in src/port/ need toinclude postgres.h/postgres_fe.h, but these files don't.Discussion:https://postgr.es/m/20220915022626.5xx3ccgkzpkqw5mq@awork3.anarazel.deBackpatch: 12-, where3fd2a79 introduced (some) of these files
1 parentfb50379 commit940c1c7

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

‎src/port/pread.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616

1717

18-
#include"postgres.h"
18+
#include"c.h"
1919

2020
#ifdefWIN32
2121
#include<windows.h>

‎src/port/preadv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616

1717

18-
#include"postgres.h"
18+
#include"c.h"
1919

2020
#ifdefWIN32
2121
#include<windows.h>

‎src/port/pwrite.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616

1717

18-
#include"postgres.h"
18+
#include"c.h"
1919

2020
#ifdefWIN32
2121
#include<windows.h>

‎src/port/pwritev.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616

1717

18-
#include"postgres.h"
18+
#include"c.h"
1919

2020
#ifdefWIN32
2121
#include<windows.h>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp