| От | Tom Lane |
|---|---|
| Тема | Re: pg_dump return failed sanity check |
| Дата | |
| Msg-id | 21336.958619934@sss.pgh.pa.us обсуждение |
| Ответ на | pg_dump return failed sanity check (Patrick Robin <Patrick.Robin@disney.com>) |
| Список | pgsql-general |
Patrick Robin <Patrick.Robin@disney.com> writes:
> When I try to use pg_dump, I get this error. Can it have something to
> do with a custom type I added. I made sure I added the input/output functions
> and comparision functions for sorting and queries.
> The type works fine in SQL queries in general.
>> pg_dump -s scm
> \connect - d23adm
> failed sanity check, type with oid 457690 was not found
That's probably an indication that you forgot to delete a function that
takes or returns an older custom type that you deleted.
Look in pg_proc for a function containing 457690 in proargtypes or
prorettype, and delete that tuple (or tuples if more than one).
pg_dump oughta be more helpful about where it sees the problem...
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера