| От | Tom Lane |
|---|---|
| Тема | Re: pg_restore peculiarities |
| Дата | |
| Msg-id | 4838.1095524529@sss.pgh.pa.us обсуждение |
| Ответ на | pg_restore peculiarities (Tim Penhey <tim@penhey.net>) |
| Ответы |
Re: pg_restore peculiarities
Re: pg_restore peculiarities |
| Список | pgsql-general |
Tim Penhey <tim@penhey.net> writes:
> Maybe it's just me, but I can't seem to get pg_restore to restore a
> database...
It looks to me like you have a bunch of stuff in template1, which is
being duplicated into your test_restored DB and then is interfering
with the restoration of similarly-named objects.
Create the empty database using template0 as template, instead, and
then the restore will work.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера