| От | Tom Lane |
|---|---|
| Тема | Re: [BUGS] pg_dumpall failed on dumpProcLangs() |
| Дата | |
| Msg-id | 5997.936547166@sss.pgh.pa.us обсуждение |
| Ответ на | pg_dumpall failed on dumpProcLangs() (Roland Roberts <roberts@panix.com>) |
| Список | pgsql-bugs |
Roland Roberts <roberts@panix.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
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера