[COMMITTERS] pgsql: Clean up some misplaced #includes.

2016-03-19 Thread Tom Lane
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

Re: [COMMITTERS] pgsql: Clean up some misplaced #includes.

2016-03-19 Thread Aleksander Alekseev
> Clean up some misplaced #includes. In case you are interested here is a patch that fixes some unused imports I managed to find. -- Best regards, Aleksander Alekseev http://eax.me/ diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index f70bb49..ceeb045 100644 -