pgsql: Fix documentation of FmgrInfo.fn_nargs.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix documentation of FmgrInfo.fn_nargs.
Date: 2014-04-23 03:22:22
Message-ID: E1WcnlO-0001JQ-JQ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix documentation of FmgrInfo.fn_nargs.

Some ancient comments claimed that fn_nargs could be -1 to indicate a
variable number of input arguments; but this was never implemented, and
is at variance with what we ultimately did with "variadic" functions.
Update the comments.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/d26b042ce577a4012b9798528f0b1bcfa6e502eb

Modified Files
--------------
src/backend/utils/fmgr/README | 2 +-
src/include/fmgr.h | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2014-04-23 09:55:22 pgsql: Cleanup of new b-tree page deletion code.
Previous Message Tom Lane 2014-04-23 02:33:41 pgsql: Fix broken logic in logical_heap_rewrite_flush_mappings().