Multiple uses of same internal function

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Multiple uses of same internal function
Date: 2006-12-14 17:56:47
Message-ID: 200612141856.47997.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

The opr_sanity test checks the following:

-- Considering only built-in procs (prolang = 12), look for multiple uses
-- of the same internal function (ie, matching prosrc fields). It's OK to
-- have several entries with different pronames for the same internal function,
-- but conflicts in the number of arguments and other critical items should
-- be complained of. (We don't check data types here; see next query.)

Is this a leftover from the V0 fmgr days, or why is this not to be done?
In particular, using one C function to implement a group of overloaded
functions with different numbers of arguments seems useful.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2006-12-14 18:17:20 Re: Security leak with trigger functions?
Previous Message Tom Lane 2006-12-14 17:53:55 Re: Security leak with trigger functions?