Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit eddc128

Browse files
committed
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
1 parent a19e5ce commit eddc128

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

src/backend/utils/fmgr/funcapi.c

-9
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,6 @@ static bool resolve_polymorphic_tupdesc(TupleDesc tupdesc,
5656
static TypeFuncClass get_type_func_class(Oid typid, Oid *base_typeid);
5757

5858

59-
/*
60-
* Compatibility function for v15.
61-
*/
62-
void
63-
SetSingleFuncCall(FunctionCallInfo fcinfo, bits32 flags)
64-
{
65-
InitMaterializedSRF(fcinfo, flags);
66-
}
67-
6859
/*
6960
* InitMaterializedSRF
7061
*

src/include/funcapi.h

-5
Original file line numberDiff line numberDiff line change
@@ -297,11 +297,6 @@ HeapTupleGetDatum(const HeapTupleData *tuple)
297297
* BlessTupleDesc(). */
298298
extern void InitMaterializedSRF(FunctionCallInfo fcinfo, bits32 flags);
299299

300-
/* Compatibility declarations, for v15 */
301-
#define SRF_SINGLE_USE_EXPECTED MAT_SRF_USE_EXPECTED_DESC
302-
#define SRF_SINGLE_BLESS MAT_SRF_BLESS
303-
extern void SetSingleFuncCall(FunctionCallInfo fcinfo, bits32 flags);
304-
305300
extern FuncCallContext *init_MultiFuncCall(PG_FUNCTION_ARGS);
306301
extern FuncCallContext *per_MultiFuncCall(PG_FUNCTION_ARGS);
307302
extern void end_MultiFuncCall(PG_FUNCTION_ARGS, FuncCallContext *funcctx);

0 commit comments

Comments
 (0)