Include c.h instead of postgres.h in src/port/*p{read,write}*.c
authorAndres Freund <[email protected]>
Sat, 17 Sep 2022 16:21:59 +0000 (09:21 -0700)
committerAndres Freund <[email protected]>
Sat, 17 Sep 2022 16:25:23 +0000 (09:25 -0700)
commit5aee41e28de9d15219b97d912dea08723e938295
tree56179a43521d286d9b78afd7f8e40561c5f2a9ba
parentb3b88d7480b81a7622045a88682296c8d4683dbf
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: https://postgr.es/m/20220915022626[email protected]
Backpatch: 12-, where 3fd2a7932ef introduced (some) of these files
src/port/pread.c
src/port/pwrite.c