| От | Tom Lane |
|---|---|
| Тема | Re: pg_dumpall size twist |
| Дата | |
| Msg-id | 9058.1224622542@sss.pgh.pa.us обсуждение |
| Ответ на | pg_dumpall size twist (Marc Fromm <Marc.Fromm@wwu.edu>) |
| Список | pgsql-admin |
Marc Fromm <Marc.Fromm@wwu.edu> writes:
> It turns out that one specific database called postgres is growing each time I perform a restore from the pg_dumpall
files.
> The database postgres has gone from 5.1MB to 10MB to 15MB to 20MB. No other database is growing like this. The
pg_dumpallis using the -c flag to drop databases before restoring them.
> When I do a restore I do this command: psql -U postgres -f alldb postgres.
> Has it something to do with using postgres as the starting db?
Well, yeah: you can't drop the database you're connected to. It might
be a good idea to pay attention to the errors emitted by the dump
script...
regards, tom lane
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера