summaryrefslogtreecommitdiff
path: root/contrib/tcn
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/tcn
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/tcn')
-rw-r--r--contrib/tcn/tcn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/tcn/tcn.c b/contrib/tcn/tcn.c
index 5355a64c5e..45687687b0 100644
--- a/contrib/tcn/tcn.c
+++ b/contrib/tcn/tcn.c
@@ -16,9 +16,9 @@
#include "postgres.h"
#include "access/htup_details.h"
-#include "executor/spi.h"
#include "commands/async.h"
#include "commands/trigger.h"
+#include "executor/spi.h"
#include "lib/stringinfo.h"
#include "utils/rel.h"
#include "utils/syscache.h"