Clean up #includes

- No need to include c.h, port.h or pg_config.h, they are included in
  postgres.h
- No need to include postgres.h in header files. Instead, the
  assumption in PostgreSQL is that all .c files include postgres.h.
- Reorder includes to alphabetical order, and system headers before
  pgsql headers
- Remove bunch of other unnecessary includes that got copy-pasted from
  one source file to another
This commit is contained in:
Heikki Linnakangas
2023-12-18 21:05:29 +02:00
parent 82215d20b0
commit c4c48cfd63
11 changed files with 44 additions and 88 deletions
+1
View File
@@ -1 +1,2 @@
#include "postgres.h"
#include "walproposer.h"