From e8606ec86d4b108971060898effcf1a8ac3cc8f5 Mon Sep 17 00:00:00 2001 From: PengJiong Date: Thu, 17 Sep 2020 16:01:51 +0800 Subject: [PATCH] Fix complie warning. --- src/include/knl/knl_session.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/include/knl/knl_session.h b/src/include/knl/knl_session.h index 1e5e1ae45..64bf7528d 100644 --- a/src/include/knl/knl_session.h +++ b/src/include/knl/knl_session.h @@ -45,7 +45,6 @@ #include #include "c.h" -#include "access/heapam.h" #include "datatype/timestamp.h" #include "gs_thread.h" #include "knl/knl_guc.h" @@ -60,7 +59,6 @@ #include "storage/backendid.h" #include "storage/s_lock.h" #include "storage/shmem.h" -#include "storage/predicate.h" #include "postmaster/bgworker.h" #include "storage/dsm.h" #include "utils/palloc.h" @@ -2042,6 +2040,8 @@ typedef struct knl_u_ext_fdw_context { } knl_u_ext_fdw_context; /* Info need to pass from leader to worker */ +struct ParallelHeapScanDescData; +typedef uint64 XLogRecPtr; typedef struct ParallelInfoContext { Oid database_id; Oid authenticated_user_id; @@ -2060,7 +2060,7 @@ typedef struct ParallelInfoContext { char *param_space; Size param_len; int pscan_num; - ParallelHeapScanDesc *pscan; + ParallelHeapScanDescData **pscan; int usedComboCids; int sizeComboCids; HTAB *comboHash;