| От | Adam Witney |
|---|---|
| Тема | Re: CREATE ROLE and pg_dump |
| Дата | |
| Msg-id | 448973E0.2090705@sgul.ac.uk обсуждение |
| Ответ на | CREATE ROLE and pg_dump (kmh496 <kmh496@kornet.net>) |
| Список | pgsql-novice |
kmh496 wrote: > I am upgrading from 8.0.3 to 8.1 and so i did a pg_dump -d dbname > > dump.sql then did a "cat dump.sql | psql -d dbname" > but there are errors such as this one: > ERROR: role "joe" does not exist > ERROR: role "joe" does not exist > ERROR: role "joe" does not exist > ERROR: role "joe" does not exist > ERROR: role "joe" does not exist > ERROR: role "joe" does not exist > ERROR: role "joe" does not exist > > is there no flag to pg_dump to tell it to dump the create user > statements as well? > > thanks. > > is there a way to get users dumped as well? I think you have to use pg_dumpall to dump users as well -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера