Craig James <craig_james(at)emolecules(dot)com> wrote:
> It would be nice if Postgres had a way to assign a cost to every
> function.
The COST clause of CREATE FUNCTION doesn't do what you want?
http://www.postgresql.org/docs/8.4/interactive/sql-createfunction.html
-Kevin