pgsql: Include c.h instead of postgres.h in src/port/*p{read,write}*.c

Started by Andres Freundalmost 4 years ago1 messagescomitters
Jump to latest
#1Andres Freund
andres@anarazel.de

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 to
include postgres.h/postgres_fe.h, but these files don't.

Discussion: /messages/by-id/20220915022626.5xx3ccgkzpkqw5mq@awork3.anarazel.de
Backpatch: 12-, where 3fd2a7932ef introduced (some) of these files

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/f69b8f324af5470dcece3ec7985964c4b6c94c77

Modified Files
--------------
src/port/pread.c | 2 +-
src/port/pwrite.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)