On Mon, 2002-09-09 at 21:34, Laurette Cisneros wrote: > > I am trying move my development database to 7.3b1. > > However, when I try to restore from a 7.2.2 dump to the 7.3.b1 server I get > the following error: > > pg_restore -U nbadmin -h lnc -p 5432 -d stats -Fc /tmp/stats.pgdmp > > pg_restore: [archiver (db)] could not execute query: ERROR: function > plpgsql_call_handler() does not return type language_handler > > Any ideas?
At the moment, you have to edit the dump. Where the language handler function is declared, change "RETURNS opaque" to "RETURNS language_handler". -- Oliver Elphick [EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C ======================================== "Submit yourselves therefore to God. Resist the devil, and he will flee from you." James 4:7 ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster