From 7e735035f208418f31b91846ae3e8a381edb3af3 Mon Sep 17 00:00:00 2001 From: Amit Kapila Date: Wed, 23 Oct 2019 09:26:22 +0530 Subject: 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 --- contrib/pageinspect/hashfuncs.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'contrib/pageinspect/hashfuncs.c') diff --git a/contrib/pageinspect/hashfuncs.c b/contrib/pageinspect/hashfuncs.c index 9374c4aabc4..bcc39a8a89c 100644 --- a/contrib/pageinspect/hashfuncs.c +++ b/contrib/pageinspect/hashfuncs.c @@ -10,14 +10,13 @@ #include "postgres.h" -#include "pageinspect.h" - #include "access/hash.h" #include "access/htup_details.h" -#include "catalog/pg_type.h" #include "catalog/pg_am.h" +#include "catalog/pg_type.h" #include "funcapi.h" #include "miscadmin.h" +#include "pageinspect.h" #include "utils/array.h" #include "utils/builtins.h" #include "utils/rel.h" -- cgit v1.2.3