Re: [BUGS] pg_dumpall failed on dumpProcLangs()

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: roberts(at)panix(dot)com
Cc: pgsql-bugs(at)postgreSQL(dot)org
Subject: Re: [BUGS] pg_dumpall failed on dumpProcLangs()
Date: 1999-09-05 15:59:26
Message-ID: 5997.936547166@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Roland Roberts <roberts(at)panix(dot)com> writes:
> -----BEGIN PGP SIGNED MESSAGE-----
> I was attempting to dump my database (6.4.2) in preparation for an
> upgrade to 6.5.1. I got the following error, both with and without
> the `-z'. Any suggestions are welcome....
> dumpProcLangs(): handler procedure for language plpgsql not found

That's odd. You didn't do something silly like dropping the function
definition for plpgsql_call_handler, did you?

Anyway, I think you can get rid of the broken table entry by doing
drop procedural language 'plpgsql';
but first you might want to see whether there are any functions
that depend on it:
select proname from pg_proc, pg_language pl
where prolang = pl.oid and lanname = 'plpgsql';
If there are, you'll need to drop them too...

regards, tom lane

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Roland Roberts 1999-09-06 02:45:25 Re: [BUGS] pg_dumpall failed on dumpProcLangs()
Previous Message supercd 1999-09-05 13:41:13 .