aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2022-10-18 10:44:02 +0900
committerMichael Paquier <michael@paquier.xyz>2022-10-18 10:44:02 +0900
commiteddc128beac0f6e7b87e003888b0e947f7548e8a (patch)
tree88747678c4534f6d09df98c9de89b82a36844d1a /src
parenta19e5cee635dc94c9c6e44c8863b4b770920a04b (diff)
downloadpostgresql-eddc128beac0f6e7b87e003888b0e947f7548e8a.tar.gz
postgresql-eddc128beac0f6e7b87e003888b0e947f7548e8a.zip
Remove compatibility declarations for InitMaterializedSRF()
These routines have been renamed in a19e5ce. There is no need to keep the compatibility declarations on HEAD, as once an extension moves to the new routine name when compiling with v16~ the code would work the same way when recompiled on v15. No backpatch to v15 for this one, because ABI compatibility has to be maintained there. Discussion: https://postgr.es/m/20221013194820.ciktb2sbbpw7cljm@awork3.anarazel.de
Diffstat (limited to 'src')
-rw-r--r--src/backend/utils/fmgr/funcapi.c9
-rw-r--r--src/include/funcapi.h5
2 files changed, 0 insertions, 14 deletions
diff --git a/src/backend/utils/fmgr/funcapi.c b/src/backend/utils/fmgr/funcapi.c
index 7ac6f36abe8..87cbb1d3e38 100644
--- a/src/backend/utils/fmgr/funcapi.c
+++ b/src/backend/utils/fmgr/funcapi.c
@@ -57,15 +57,6 @@ static TypeFuncClass get_type_func_class(Oid typid, Oid *base_typeid);
/*
- * Compatibility function for v15.
- */
-void
-SetSingleFuncCall(FunctionCallInfo fcinfo, bits32 flags)
-{
- InitMaterializedSRF(fcinfo, flags);
-}
-
-/*
* InitMaterializedSRF
*
* Helper function to build the state of a set-returning function used
diff --git a/src/include/funcapi.h b/src/include/funcapi.h
index 8aed8dccaff..277e3057651 100644
--- a/src/include/funcapi.h
+++ b/src/include/funcapi.h
@@ -297,11 +297,6 @@ HeapTupleGetDatum(const HeapTupleData *tuple)
* BlessTupleDesc(). */
extern void InitMaterializedSRF(FunctionCallInfo fcinfo, bits32 flags);
-/* Compatibility declarations, for v15 */
-#define SRF_SINGLE_USE_EXPECTED MAT_SRF_USE_EXPECTED_DESC
-#define SRF_SINGLE_BLESS MAT_SRF_BLESS
-extern void SetSingleFuncCall(FunctionCallInfo fcinfo, bits32 flags);
-
extern FuncCallContext *init_MultiFuncCall(PG_FUNCTION_ARGS);
extern FuncCallContext *per_MultiFuncCall(PG_FUNCTION_ARGS);
extern void end_MultiFuncCall(PG_FUNCTION_ARGS, FuncCallContext *funcctx);