aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/libpq-int.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2017-03-08 20:41:06 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2017-03-08 20:41:06 -0500
commit9722bb5757c5e90617be685bf127911b63efe08d (patch)
treeb96b6f6647e58936dd76df98435812f0be244b2f /src/interfaces/libpq/libpq-int.h
parent08da52859a1fadeac10aab621c6c793791ec1f2c (diff)
downloadpostgresql-9722bb5757c5e90617be685bf127911b63efe08d.tar.gz
postgresql-9722bb5757c5e90617be685bf127911b63efe08d.zip
Fix inclusions of postgres_fe.h from .h files.
We have a project policy that every .c file should start by including postgres.h, postgres_fe.h, or c.h as appropriate; and then there is no need for any .h file to explicitly include any of these. Fix a few headers that were violating this policy by including postgres_fe.h. Discussion: https://postgr.es/m/CAEepm=2zCoeq3QxVwhS5DFeUh=yU6z81pbWMgfOB8OzyiBwxzw@mail.gmail.com Discussion: https://postgr.es/m/11634.1488932128@sss.pgh.pa.us
Diffstat (limited to 'src/interfaces/libpq/libpq-int.h')
-rw-r--r--src/interfaces/libpq/libpq-int.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/interfaces/libpq/libpq-int.h b/src/interfaces/libpq/libpq-int.h
index 360956d6eb3..b8ec3418c56 100644
--- a/src/interfaces/libpq/libpq-int.h
+++ b/src/interfaces/libpq/libpq-int.h
@@ -21,7 +21,6 @@
#define LIBPQ_INT_H
/* We assume libpq-fe.h has already been included. */
-#include "postgres_fe.h"
#include "libpq-events.h"
#include <time.h>