Justin Pryzby <pry...@telsasoft.com> writes: > It seems like the only way to make variable number of arguments is is with > multiple entries in pg_proc.dat, one for each "number of" arguments. Is that > right ?
Another way to do it is to have one entry, put the full set of arguments into the initial pg_proc.dat data, and then use CREATE OR REPLACE FUNCTION later during initdb to install some defaults. See existing cases in system_views.sql, starting about line 1180. Neither way is especially pretty, so take your choice. regards, tom lane