| От | Tom Lane |
|---|---|
| Тема | Re: Restoring pg_dump Backup with psql Fails |
| Дата | |
| Msg-id | 18927.1199066392@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Restoring pg_dump Backup with psql Fails ("Phillip Smith" <phillip.smith@weatherbeeta.com.au>) |
| Ответы |
Re: Restoring pg_dump Backup with psql Fails
|
| Список | pgsql-admin |
"Phillip Smith" <phillip.smith@weatherbeeta.com.au> writes:
> I think I've found my problem:
> I don't know how or when those tables were created in template1 - they're
> certainly not supposed to be there or needed. Is it safe to just DROP the
> tables from template1?
Yeah, but what other user-created stuff (functions for instance) might
be in there?
You might want to drop template1 and recreate it from template0.
(There's a blow-by-blow article about doing that on techdocs, IIRC.)
regards, tom lane
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера