Nigel Horne <njh(at)bandsman(dot)co(dot)uk> writes:
> The on-line manual,
> http://www.postgresql.org/docs/8.0/interactive/index.html,
> doesn't describe how to call stored functions, or if it does
> it's well hidden.
Start here:
http://www.postgresql.org/docs/8.0/static/xfunc.html
http://www.postgresql.org/docs/8.0/static/xfunc-sql.html
If that first page already throws you, try backing up to the
beginning of the chapter,
http://www.postgresql.org/docs/8.0/static/extend.html
regards, tom lane