"Peter Koczan" <pjkoczan@xxxxxxxxx> 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