Re: pg_restore error: function plpgsql_call_handler already exists with same argument types
В списке pgsql-admin по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: pg_restore error: function plpgsql_call_handler already exists with same argument types |
| Дата | |
| Msg-id | 18517.1038842570@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: pg_restore error: function plpgsql_call_handler already exists with same argument types ("Nick Fankhauser" <nickf@ontko.com>) |
| Ответы |
Re: pg_restore error: function plpgsql_call_handler already exists with same argument types
|
| Список | pgsql-admin |
"Nick Fankhauser" <nickf@ontko.com> writes:
> It appears that in the process of creating the schema, pg_restore attempted
> to create an object that required the existence of actor, which wasn't
> restored yet. My conjecture is that the objects are just being created in
> the wrong order.
Probably. You could check this by running pg_restore with query logging
turned on, to see what commands it's actually issuing -- or just do
"pg_restore -s" into a text file and eyeball the generated script.
There are a lot of situations where pg_dump fails to pick a safe reload
order at the moment (that's why pg_restore has that wild and woolly set
of options for manual adjustment of the reload order).
regards, tom lane
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера