| От | Tom Lane |
|---|---|
| Тема | Re: BUG #6660: losing schema name in pg_dump |
| Дата | |
| Msg-id | 439.1337699001@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: BUG #6660: losing schema name in pg_dump (Chaitany Kulkarni <shreeseva.it@gmail.com>) |
| Список | pgsql-bugs |
Chaitany Kulkarni <shreeseva.it@gmail.com> writes:
> I didn't understand when user have defined schema names explicitly in
> definition of the objects and most database developers insist on writing
> schema names explicitly, why pg_dump is not outputting it as it is.
The short answer to that is that the internal representation of views
and other objects only stores object identities, not how they were named
in the input. We don't store whitespace or layout choices either, and
there are various other ways that the output can vary from what you
typed. So really, if you're intent on that, keeping the original source
file is the way to go.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера