pgsql: Clean up some misplaced #includes. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Clean up some misplaced #includes.
Date
Msg-id E1agyQt-0006JT-MS@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: Clean up some misplaced #includes.
List pgsql-committers
Clean up some misplaced #includes.

Random .h files have no business including postgres-fe.h (or postgres.h).
If that wasn't the first #include done by the calling .c file, it's the
.c file that's broken.  Noted while prepping Kyotaro Horiguchi's psql
lexer refactoring patch.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/3422fecccadb021b7b4cdbc73b2c29f66f031761

Modified Files
--------------
src/bin/psql/common.h       | 3 +--
src/bin/psql/create_help.pl | 2 +-
src/bin/psql/mainloop.h     | 4 +---
3 files changed, 3 insertions(+), 6 deletions(-)


pgsql-committers by date:

Previous
From: Teodor Sigaev
Date:
Subject: Re: pgsql: Introduce parse_ident()
Next
From: Andres Freund
Date:
Subject: Re: pgsql: Improve memory management for external sorts.