Subject: "any" to functions and function aliases
From: tgl@sss.pgh.pa.us (Tom Lane)
Date: 9/8/2007 5:33:45 PM
"Peter Koczan" <pjkoczan@gmail.com> writes:
> FUNCTION isnull("any", "any") postgres
> pg_restore: [archiver (db)] could not execute query: ERROR: plpgsql
> functions cannot return type "any"
> Command was: CREATE FUNCTION "isnull"("any", "any") RETURNS "any"
Use anyelement instead.
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at
http://www.postgresql.org/about/donate
|