pgsql: Clean up some misplaced #includes.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Clean up some misplaced #includes.
Date: 2016-03-18 17:43:31
Message-ID: E1agyQt-0006JT-MS@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2016-03-18 18:25:05 Re: pgsql: Improve memory management for external sorts.
Previous Message Teodor Sigaev 2016-03-18 15:50:45 Re: pgsql: Introduce parse_ident()