From f033462d8f77c40b7d6b33c5116e50118fb4699d Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 17 Jan 2018 18:09:57 -0500 Subject: [PATCH] Reorder C includes Reorder header files in joinrels.c and pathnode.c in alphabetical order, removing unnecessary ones. Author: Etsuro Fujita --- src/backend/optimizer/path/joinrels.c | 4 +--- src/backend/optimizer/util/pathnode.c | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/backend/optimizer/path/joinrels.c b/src/backend/optimizer/path/joinrels.c index 1d152c514e..a35d068911 100644 --- a/src/backend/optimizer/path/joinrels.c +++ b/src/backend/optimizer/path/joinrels.c @@ -16,15 +16,13 @@ #include "miscadmin.h" #include "catalog/partition.h" -#include "nodes/relation.h" #include "optimizer/clauses.h" #include "optimizer/joininfo.h" #include "optimizer/pathnode.h" #include "optimizer/paths.h" #include "optimizer/prep.h" -#include "optimizer/cost.h" -#include "utils/memutils.h" #include "utils/lsyscache.h" +#include "utils/memutils.h" static void make_rels_by_clause_joins(PlannerInfo *root, diff --git a/src/backend/optimizer/util/pathnode.c b/src/backend/optimizer/util/pathnode.c index 48b4db72bc..fa4b4683e5 100644 --- a/src/backend/optimizer/util/pathnode.c +++ b/src/backend/optimizer/util/pathnode.c @@ -17,8 +17,9 @@ #include #include "miscadmin.h" -#include "nodes/nodeFuncs.h" +#include "foreign/fdwapi.h" #include "nodes/extensible.h" +#include "nodes/nodeFuncs.h" #include "optimizer/clauses.h" #include "optimizer/cost.h" #include "optimizer/pathnode.h" @@ -29,7 +30,6 @@ #include "optimizer/tlist.h" #include "optimizer/var.h" #include "parser/parsetree.h" -#include "foreign/fdwapi.h" #include "utils/lsyscache.h" #include "utils/memutils.h" #include "utils/selfuncs.h" -- 2.40.0