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

Commit 348778d

Browse files
committed
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
1 parent f269033 commit 348778d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/include/fmgr.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,8 @@ extern int no_such_variable
489489

490490
/* These are for invocation of a specifically named function with a
491491
* directly-computed parameter list. Note that neither arguments nor result
492-
* are allowed to be NULL.
492+
* are allowed to be NULL. Also, the function cannot be one that needs to
493+
* look at FmgrInfo, since there won't be any.
493494
*/
494495
extern Datum DirectFunctionCall1Coll(PGFunction func, Oid collation,
495496
Datum arg1);

0 commit comments

Comments
 (0)