Clean up some misplaced #includes.
Tom Lane <tgl@sss.pgh.pa.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/psql/common.h | modified | +1 −2 |
| src/bin/psql/create_help.pl | modified | +1 −1 |
| src/bin/psql/mainloop.h | modified | +1 −3 |