Dump error

Started by ivanabout 22 years ago3 messages
#1ivan
iv@psycho.pl

pg_dump: handler procedure for procedural language "plpgsql" not found
pg_dumpall: pg_dump failed on database "db", exiting

why ?

i create this language by script createlang as superuser for this database
so, ?

:)

#2Jochem van Dieten
jochemd@oli.tudelft.nl
In reply to: ivan (#1)
Re: Dump error

ivan wrote:

pg_dump: handler procedure for procedural language "plpgsql" not found
pg_dumpall: pg_dump failed on database "db", exiting

why ?

Perhaps the pg_dump bug with procedural language handlers which
have been created in the pg_catalog schema:
http://archives.postgresql.org/pgsql-general/2003-01/msg00006.php

Jochem

#3Tom Lane
tgl@sss.pgh.pa.us
In reply to: Jochem van Dieten (#2)
Re: Dump error

Jochem van Dieten <jochemd@oli.tudelft.nl> writes:

Perhaps the pg_dump bug with procedural language handlers which
have been created in the pg_catalog schema:
http://archives.postgresql.org/pgsql-general/2003-01/msg00006.php

Since no better solution has emerged since January, I've applied a patch
along the lines we discussed then (make pg_dump simply ignore languages
for which it doesn't find the handler in finfo[]).

regards, tom lane