summaryrefslogtreecommitdiff
path: root/contrib/vacuumlo
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2019-10-23 09:26:22 +0530
committerAmit Kapila <akapila@postgresql.org>2019-10-24 08:05:34 +0530
commit7e735035f208418f31b91846ae3e8a381edb3af3 (patch)
tree3e65f5f1c373f43e4ab7abaa49b30bfbafecb4d5 /contrib/vacuumlo
parent59c2617af35f064e5d3ef39cfe94531f7459f3de (diff)
downloadpostgresql-7e735035f208418f31b91846ae3e8a381edb3af3.tar.gz
Make the order of the header file includes consistent in contrib modules.
The basic rule we follow here is to always first include 'postgres.h' or 'postgres_fe.h' whichever is applicable, then system header includes and then Postgres header includes.  In this, we also follow that all the Postgres header includes are in order based on their ASCII value.  We generally follow these rules, but the code has deviated in many places. This commit makes it consistent just for contrib modules. The later commits will enforce similar rules in other parts of code. Author: Vignesh C Reviewed-by: Amit Kapila Discussion: https://postgr.es/m/CALDaNm2Sznv8RR6Ex-iJO6xAdsxgWhCoETkaYX=+9DW3q0QCfA@mail.gmail.com
Diffstat (limited to 'contrib/vacuumlo')
-rw-r--r--contrib/vacuumlo/vacuumlo.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/vacuumlo/vacuumlo.c b/contrib/vacuumlo/vacuumlo.c
index 533e2ce33c..55b42e3565 100644
--- a/contrib/vacuumlo/vacuumlo.c
+++ b/contrib/vacuumlo/vacuumlo.c
@@ -22,12 +22,11 @@
#endif
#include "catalog/pg_class_d.h"
-
#include "common/logging.h"
#include "fe_utils/connect.h"
+#include "getopt_long.h"
#include "libpq-fe.h"
#include "pg_getopt.h"
-#include "getopt_long.h"
#define BUFSIZE 1024