mirror of
https://github.com/postgres/postgres.git
synced 2025-08-30 06:01:21 +03:00
Make the order of the header file includes consistent in backend modules.
Similar to commits7e735035f2
anddddf4cdc33
, this commit makes the order of header file inclusion consistent for backend modules. In the passing, removed a couple of duplicate inclusions. Author: Vignesh C Reviewed-by: Kuntal Ghosh and Amit Kapila Discussion: https://postgr.es/m/CALDaNm2Sznv8RR6Ex-iJO6xAdsxgWhCoETkaYX=+9DW3q0QCfA@mail.gmail.com
This commit is contained in:
@@ -17,19 +17,16 @@
|
||||
*/
|
||||
#include "postgres.h"
|
||||
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
#include "fmgr.h"
|
||||
#include "executor/execExpr.h"
|
||||
#include "fmgr.h"
|
||||
#include "jit/jit.h"
|
||||
#include "miscadmin.h"
|
||||
#include "utils/resowner_private.h"
|
||||
#include "utils/fmgrprotos.h"
|
||||
|
||||
#include "utils/resowner_private.h"
|
||||
|
||||
/* GUCs */
|
||||
bool jit_enabled = true;
|
||||
|
@@ -13,17 +13,6 @@
|
||||
|
||||
#include "postgres.h"
|
||||
|
||||
#include "jit/llvmjit.h"
|
||||
#include "jit/llvmjit_emit.h"
|
||||
|
||||
#include "miscadmin.h"
|
||||
|
||||
#include "utils/memutils.h"
|
||||
#include "utils/resowner_private.h"
|
||||
#include "portability/instr_time.h"
|
||||
#include "storage/ipc.h"
|
||||
|
||||
|
||||
#include <llvm-c/Analysis.h>
|
||||
#include <llvm-c/BitReader.h>
|
||||
#include <llvm-c/BitWriter.h>
|
||||
@@ -39,6 +28,13 @@
|
||||
#include <llvm-c/Transforms/Utils.h>
|
||||
#endif
|
||||
|
||||
#include "jit/llvmjit.h"
|
||||
#include "jit/llvmjit_emit.h"
|
||||
#include "miscadmin.h"
|
||||
#include "portability/instr_time.h"
|
||||
#include "storage/ipc.h"
|
||||
#include "utils/memutils.h"
|
||||
#include "utils/resowner_private.h"
|
||||
|
||||
/* Handle of a module emitted via ORC JIT */
|
||||
typedef struct LLVMJitHandle
|
||||
|
@@ -23,10 +23,10 @@
|
||||
#include "access/tupconvert.h"
|
||||
#include "catalog/objectaccess.h"
|
||||
#include "catalog/pg_type.h"
|
||||
#include "executor/execExpr.h"
|
||||
#include "executor/execdebug.h"
|
||||
#include "executor/nodeAgg.h"
|
||||
#include "executor/nodeSubplan.h"
|
||||
#include "executor/execExpr.h"
|
||||
#include "funcapi.h"
|
||||
#include "jit/llvmjit.h"
|
||||
#include "jit/llvmjit_emit.h"
|
||||
@@ -46,7 +46,6 @@
|
||||
#include "utils/typcache.h"
|
||||
#include "utils/xml.h"
|
||||
|
||||
|
||||
typedef struct CompiledExprState
|
||||
{
|
||||
LLVMJitContext *context;
|
||||
|
Reference in New Issue
Block a user