From cf24025ab9accd7fc7135bc39eb30e49ccdf670e Mon Sep 17 00:00:00 2001 From: usamoi Date: Wed, 31 Jan 2024 17:57:34 +0800 Subject: [PATCH 1/2] add bindings of subscript function Signed-off-by: usamoi --- pgrx-pg-sys/include/pg12.h | 4 ++++ pgrx-pg-sys/include/pg13.h | 4 ++++ pgrx-pg-sys/include/pg14.h | 5 +++++ pgrx-pg-sys/include/pg15.h | 5 +++++ pgrx-pg-sys/include/pg16.h | 5 +++++ 5 files changed, 23 insertions(+) diff --git a/pgrx-pg-sys/include/pg12.h b/pgrx-pg-sys/include/pg12.h index 08a482c61..0c62abcf6 100644 --- a/pgrx-pg-sys/include/pg12.h +++ b/pgrx-pg-sys/include/pg12.h @@ -73,6 +73,7 @@ #include "commands/vacuum.h" #include "common/config_info.h" #include "common/controldata_utils.h" +#include "executor/execExpr.h" #include "executor/executor.h" #include "executor/spi.h" #include "executor/tuptable.h" @@ -86,6 +87,8 @@ #include "nodes/makefuncs.h" #include "nodes/nodeFuncs.h" #include "nodes/nodes.h" +#include "nodes/parsenodes.h" +#include "nodes/primnodes.h" #include "nodes/print.h" #include "nodes/replnodes.h" #include "nodes/supportnodes.h" @@ -103,6 +106,7 @@ #include "optimizer/restrictinfo.h" #include "optimizer/tlist.h" #include "parser/analyze.h" +#include "parser/parse_expr.h" #include "parser/parse_func.h" #include "parser/parse_oper.h" #include "parser/parse_type.h" diff --git a/pgrx-pg-sys/include/pg13.h b/pgrx-pg-sys/include/pg13.h index cf40fa4af..e511e258d 100644 --- a/pgrx-pg-sys/include/pg13.h +++ b/pgrx-pg-sys/include/pg13.h @@ -73,6 +73,7 @@ #include "commands/vacuum.h" #include "common/config_info.h" #include "common/controldata_utils.h" +#include "executor/execExpr.h" #include "executor/executor.h" #include "executor/spi.h" #include "executor/tuptable.h" @@ -86,6 +87,8 @@ #include "nodes/makefuncs.h" #include "nodes/nodeFuncs.h" #include "nodes/nodes.h" +#include "nodes/parsenodes.h" +#include "nodes/primnodes.h" #include "nodes/print.h" #include "nodes/replnodes.h" #include "nodes/supportnodes.h" @@ -103,6 +106,7 @@ #include "optimizer/restrictinfo.h" #include "optimizer/tlist.h" #include "parser/analyze.h" +#include "parser/parse_expr.h" #include "parser/parse_func.h" #include "parser/parse_oper.h" #include "parser/parse_type.h" diff --git a/pgrx-pg-sys/include/pg14.h b/pgrx-pg-sys/include/pg14.h index a816ad148..dd65e2ee4 100644 --- a/pgrx-pg-sys/include/pg14.h +++ b/pgrx-pg-sys/include/pg14.h @@ -73,6 +73,7 @@ #include "commands/vacuum.h" #include "common/config_info.h" #include "common/controldata_utils.h" +#include "executor/execExpr.h" #include "executor/executor.h" #include "executor/spi.h" #include "executor/tuptable.h" @@ -86,8 +87,11 @@ #include "nodes/makefuncs.h" #include "nodes/nodeFuncs.h" #include "nodes/nodes.h" +#include "nodes/parsenodes.h" +#include "nodes/primnodes.h" #include "nodes/print.h" #include "nodes/replnodes.h" +#include "nodes/subscripting.h" #include "nodes/supportnodes.h" #include "nodes/tidbitmap.h" #include "nodes/value.h" @@ -103,6 +107,7 @@ #include "optimizer/restrictinfo.h" #include "optimizer/tlist.h" #include "parser/analyze.h" +#include "parser/parse_expr.h" #include "parser/parse_func.h" #include "parser/parse_oper.h" #include "parser/parse_type.h" diff --git a/pgrx-pg-sys/include/pg15.h b/pgrx-pg-sys/include/pg15.h index 7a2db3474..ac4ae58c9 100644 --- a/pgrx-pg-sys/include/pg15.h +++ b/pgrx-pg-sys/include/pg15.h @@ -74,6 +74,7 @@ #include "commands/vacuum.h" #include "common/config_info.h" #include "common/controldata_utils.h" +#include "executor/execExpr.h" #include "executor/executor.h" #include "executor/spi.h" #include "executor/tuptable.h" @@ -87,8 +88,11 @@ #include "nodes/makefuncs.h" #include "nodes/nodeFuncs.h" #include "nodes/nodes.h" +#include "nodes/parsenodes.h" +#include "nodes/primnodes.h" #include "nodes/print.h" #include "nodes/replnodes.h" +#include "nodes/subscripting.h" #include "nodes/supportnodes.h" #include "nodes/tidbitmap.h" #include "nodes/value.h" @@ -104,6 +108,7 @@ #include "optimizer/restrictinfo.h" #include "optimizer/tlist.h" #include "parser/analyze.h" +#include "parser/parse_expr.h" #include "parser/parse_func.h" #include "parser/parse_oper.h" #include "parser/parse_type.h" diff --git a/pgrx-pg-sys/include/pg16.h b/pgrx-pg-sys/include/pg16.h index bf5a97278..28556e429 100644 --- a/pgrx-pg-sys/include/pg16.h +++ b/pgrx-pg-sys/include/pg16.h @@ -75,6 +75,7 @@ #include "commands/vacuum.h" #include "common/config_info.h" #include "common/controldata_utils.h" +#include "executor/execExpr.h" #include "executor/executor.h" #include "executor/spi.h" #include "executor/tuptable.h" @@ -88,8 +89,11 @@ #include "nodes/makefuncs.h" #include "nodes/nodeFuncs.h" #include "nodes/nodes.h" +#include "nodes/parsenodes.h" +#include "nodes/primnodes.h" #include "nodes/print.h" #include "nodes/replnodes.h" +#include "nodes/subscripting.h" #include "nodes/supportnodes.h" #include "nodes/tidbitmap.h" #include "nodes/value.h" @@ -105,6 +109,7 @@ #include "optimizer/restrictinfo.h" #include "optimizer/tlist.h" #include "parser/analyze.h" +#include "parser/parse_expr.h" #include "parser/parse_func.h" #include "parser/parse_oper.h" #include "parser/parse_type.h" From 7f00e1af8ef1f366eefaf80cfcf3cdf881679763 Mon Sep 17 00:00:00 2001 From: usamoi Date: Sun, 18 Feb 2024 10:28:11 +0800 Subject: [PATCH 2/2] add nodes/miscnodes.h --- pgrx-pg-sys/include/pg16.h | 1 + 1 file changed, 1 insertion(+) diff --git a/pgrx-pg-sys/include/pg16.h b/pgrx-pg-sys/include/pg16.h index 28556e429..d6fbb27fd 100644 --- a/pgrx-pg-sys/include/pg16.h +++ b/pgrx-pg-sys/include/pg16.h @@ -87,6 +87,7 @@ #include "nodes/execnodes.h" #include "nodes/extensible.h" #include "nodes/makefuncs.h" +#include "nodes/miscnodes.h" #include "nodes/nodeFuncs.h" #include "nodes/nodes.h" #include "nodes/parsenodes.h"