summaryrefslogtreecommitdiff
path: root/src/include/executor/functions.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/executor/functions.h')
-rw-r--r--src/include/executor/functions.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/include/executor/functions.h b/src/include/executor/functions.h
index dcb8e18437f..b56ce26da07 100644
--- a/src/include/executor/functions.h
+++ b/src/include/executor/functions.h
@@ -17,9 +17,6 @@
#include "nodes/execnodes.h"
#include "tcop/dest.h"
-/* This struct is known only within executor/functions.c */
-typedef struct SQLFunctionParseInfo *SQLFunctionParseInfoPtr;
-
/*
* Data structure needed by the parser callback hooks to resolve parameter
* references during parsing of a SQL function's body. This is separate from
@@ -35,6 +32,8 @@ typedef struct SQLFunctionParseInfo
Oid collation; /* function's input collation, if known */
} SQLFunctionParseInfo;
+typedef SQLFunctionParseInfo *SQLFunctionParseInfoPtr;
+
extern Datum fmgr_sql(PG_FUNCTION_ARGS);
extern SQLFunctionParseInfoPtr prepare_sql_fn_parse_info(HeapTuple procedureTuple,