From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Fix inclusions of postgres_fe.h from .h files.
Date: Thu, 09 Mar 2017 01:41:12 +0000
Message-ID: <E1cln4q-0005gE-SZ@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
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
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/9722bb5757c5e90617be685bf127911b63efe08d
Modified Files
--------------
src/interfaces/ecpg/ecpglib/extern.h | 2 +-
src/interfaces/ecpg/test/pg_regress_ecpg.c | 3 +++
src/interfaces/libpq/libpq-int.h | 1 -
src/test/isolation/isolation_main.c | 2 ++
src/test/regress/pg_regress.c | 4 +++-
src/test/regress/pg_regress.h | 1 -
src/test/regress/pg_regress_main.c | 2 ++
7 files changed, 11 insertions(+), 4 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Fix inclusions of postgres_fe.h from .h files.
In-Reply-To: <E1cln4q-0005gE-SZ@gemulon.postgresql.org>
References: <E1cln4q-0005gE-SZ@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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