postgres.git / summary / log / commit / refs
commit 348778ddbc75eddaa7f9c7ce5b6adad8ada564e4
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: Mon Aug 26 18:32:40 2019 +0000
First released in: 13.0
Make comment in fmgr.h match the one in fmgr.c.
Incompletely quoting an API spec does nobody any good. Noted by
Paul Jungwirth. Looks like the discrepancy was my fault originally :-(
Discussion: https://postgr.es/m/CA+renyU_J8TU_d3Kr0PkuOgFbpypextendu7a+_d5NOfVdvDeA@mail.gmail.com
src/include/fmgr.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/include/fmgr.h b/src/include/fmgr.h
index 3ff099986b8..29ae4674cc7 100644
--- a/src/include/fmgr.h
+++ b/src/include/fmgr.h
@@ -489,7 +489,8 @@ extern int no_such_variable
/* These are for invocation of a specifically named function with a
* directly-computed parameter list. Note that neither arguments nor result
- * are allowed to be NULL.
+ * are allowed to be NULL. Also, the function cannot be one that needs to
+ * look at FmgrInfo, since there won't be any.
*/
extern Datum DirectFunctionCall1Coll(PGFunction func, Oid collation,
Datum arg1);
[parent: f26903388147]