| От | Tom Lane |
|---|---|
| Тема | Re: ALTER DATABASE vs pg_dump |
| Дата | |
| Msg-id | 2586.1214578051@sss.pgh.pa.us обсуждение |
| Ответ на | ALTER DATABASE vs pg_dump (Richard Huxton <dev@archonet.com>) |
| Ответы |
Re: ALTER DATABASE vs pg_dump
|
| Список | pgsql-hackers |
Richard Huxton <dev@archonet.com> writes:
> Is it desirable that pg_dump doesn't dump config settings set via ALTER
> DATABASE?
Well, it's intentional anyway: that's handled by pg_dumpall. The basic
design is that anything that can be seen from "outside" a specific
database is handled on the pg_dumpall side.
> I just got bitten by a DateStyle not being restored on my test DB
You could also get bitten by not having restored users or tablespaces
that the dump depends on, so I'm not sure there's a strong argument
here for refactoring the responsibility.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера