On Fri, Nov 05, 2004 at 07:33:51AM -0800, Harry Stangel wrote:
> CREATE OR REPLACE FUNCTION trivial() RETURNS TEXT AS '
> DEFINE
> x TEXT;
It's DECLARE, not DEFINE.
http://www.postgresql.org/docs/7.4/static/plpgsql-structure.html
--
Michael Fuhr
http://www.fuhr.org/~mfuhr/