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

From Andres Freund
Subject pgsql: Include c.h instead of postgres.h in src/port/*p{read,write}*.c
Date
Msg-id E1oZb7g-000m9d-5U@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.5xx3ccgkzpkqw5mq@awork3.anarazel.de
Backpatch: 12-, where 3fd2a7932ef introduced (some) of these files

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/43fcaa345d5af45101c5d96dd164f1ebed686b2c

Modified Files
--------------
src/port/preadv.c      | 2 +-
src/port/pwritev.c     | 2 +-
src/port/win32pread.c  | 2 +-
src/port/win32pwrite.c | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: Remove DLLTOOL, DLLWRAP from configure / Makefile.global.in
Next
From: Peter Geoghegan
Date:
Subject: pgsql: Make check_usermap() parameter names consistent.