| От | Tom Lane |
|---|---|
| Тема | Re: normal user dump gives error because of plpgsql |
| Дата | |
| Msg-id | 15964.1110475073@sss.pgh.pa.us обсуждение |
| Ответ на | Re: normal user dump gives error because of plpgsql (John Sidney-Woollett <johnsw@wardbrook.com>) |
| Ответы |
Re: normal user dump gives error because of plpgsql
Re: normal user dump gives error because of plpgsql |
| Список | pgsql-general |
John Sidney-Woollett <johnsw@wardbrook.com> writes:
> I'm pretty sure I had the same problem when using pg_restore. If
> pl/pgsql is installed in template1, then the restore fails.
> And I couldn't find any solution to this on the list either.
You're supposed to restore into a database cloned from template0,
not template1.
> Can pg_restore be made to ignore the error?
It does, at least since 8.0.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера