Commit b4b4b817 authored by Andres Freund's avatar Andres Freund

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 3fd2a793 introduced (some) of these files
parent 56d45fda
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
*/ */
#include "postgres.h" #include "c.h"
#ifdef WIN32 #ifdef WIN32
#include <windows.h> #include <windows.h>
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
*/ */
#include "postgres.h" #include "c.h"
#ifdef WIN32 #ifdef WIN32
#include <windows.h> #include <windows.h>
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
*/ */
#include "postgres.h" #include "c.h"
#ifdef WIN32 #ifdef WIN32
#include <windows.h> #include <windows.h>
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
*/ */
#include "postgres.h" #include "c.h"
#ifdef WIN32 #ifdef WIN32
#include <windows.h> #include <windows.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment