Fix comment in fmgr.h to refer to actual function used.
FunctionLookup() is long gone if it ever existed, and fmgr_info() is what's now used, so the comments now reflect that.
This commit is contained in:
parent
94a484222c
commit
41d798a139
@ -505,9 +505,9 @@ extern Datum FunctionCall9Coll(FmgrInfo *flinfo, Oid collation,
|
|||||||
|
|
||||||
/* These are for invocation of a function identified by OID with a
|
/* These are for invocation of a function identified by OID with a
|
||||||
* directly-computed parameter list. Note that neither arguments nor result
|
* directly-computed parameter list. Note that neither arguments nor result
|
||||||
* are allowed to be NULL. These are essentially FunctionLookup() followed
|
* are allowed to be NULL. These are essentially fmgr_info() followed by
|
||||||
* by FunctionCallN(). If the same function is to be invoked repeatedly,
|
* FunctionCallN(). If the same function is to be invoked repeatedly, do the
|
||||||
* do the FunctionLookup() once and then use FunctionCallN().
|
* fmgr_info() once and then use FunctionCallN().
|
||||||
*/
|
*/
|
||||||
extern Datum OidFunctionCall0Coll(Oid functionId, Oid collation);
|
extern Datum OidFunctionCall0Coll(Oid functionId, Oid collation);
|
||||||
extern Datum OidFunctionCall1Coll(Oid functionId, Oid collation,
|
extern Datum OidFunctionCall1Coll(Oid functionId, Oid collation,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user