Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commiteddc128

Browse files
committed
Remove compatibility declarations for InitMaterializedSRF()
These routines have been renamed ina19e5ce. There is no need to keepthe compatibility declarations on HEAD, as once an extension moves tothe new routine name when compiling with v16~ the code would work thesame 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 parenta19e5ce commiteddc128

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

‎src/backend/utils/fmgr/funcapi.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,6 @@ static bool resolve_polymorphic_tupdesc(TupleDesc tupdesc,
5656
staticTypeFuncClassget_type_func_class(Oidtypid,Oid*base_typeid);
5757

5858

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

‎src/include/funcapi.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -297,11 +297,6 @@ HeapTupleGetDatum(const HeapTupleData *tuple)
297297
* BlessTupleDesc(). */
298298
externvoidInitMaterializedSRF(FunctionCallInfofcinfo,bits32flags);
299299

300-
/* Compatibility declarations, for v15 */
301-
#defineSRF_SINGLE_USE_EXPECTED MAT_SRF_USE_EXPECTED_DESC
302-
#defineSRF_SINGLE_BLESSMAT_SRF_BLESS
303-
externvoidSetSingleFuncCall(FunctionCallInfofcinfo,bits32flags);
304-
305300
externFuncCallContext*init_MultiFuncCall(PG_FUNCTION_ARGS);
306301
externFuncCallContext*per_MultiFuncCall(PG_FUNCTION_ARGS);
307302
externvoidend_MultiFuncCall(PG_FUNCTION_ARGS,FuncCallContext*funcctx);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp