pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Include c.h instead of postgres.h in src/port/*p{read,write}*.c
5+ messages / 1 participants
[nested] [flat]

* pgsql: Include c.h instead of postgres.h in src/port/*p{read,write}*.c
@ 2022-09-17 16:56 Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 5+ messages in thread

From: Andres Freund @ 2022-09-17 16:56 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* pgsql: Include c.h instead of postgres.h in src/port/*p{read,write}*.c
@ 2022-09-17 16:56 Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 5+ messages in thread

From: Andres Freund @ 2022-09-17 16:56 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/940c1c7ed3d14ae132c9b96643be6901b2d92993

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



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* pgsql: Include c.h instead of postgres.h in src/port/*p{read,write}*.c
@ 2022-09-17 16:56 Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 5+ messages in thread

From: Andres Freund @ 2022-09-17 16:56 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
REL_14_STABLE

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

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



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* pgsql: Include c.h instead of postgres.h in src/port/*p{read,write}*.c
@ 2022-09-17 16:56 Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 5+ messages in thread

From: Andres Freund @ 2022-09-17 16:56 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
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(-)



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* pgsql: Include c.h instead of postgres.h in src/port/*p{read,write}*.c
@ 2022-09-17 16:56 Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 5+ messages in thread

From: Andres Freund @ 2022-09-17 16:56 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/5aee41e28de9d15219b97d912dea08723e938295

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



^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2022-09-17 16:56 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-09-17 16:56 pgsql: Include c.h instead of postgres.h in src/port/*p{read,write}*.c Andres Freund <andres@anarazel.de>
2022-09-17 16:56 pgsql: Include c.h instead of postgres.h in src/port/*p{read,write}*.c Andres Freund <andres@anarazel.de>
2022-09-17 16:56 pgsql: Include c.h instead of postgres.h in src/port/*p{read,write}*.c Andres Freund <andres@anarazel.de>
2022-09-17 16:56 pgsql: Include c.h instead of postgres.h in src/port/*p{read,write}*.c Andres Freund <andres@anarazel.de>
2022-09-17 16:56 pgsql: Include c.h instead of postgres.h in src/port/*p{read,write}*.c Andres Freund <andres@anarazel.de>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox