| От | Thomas Swan |
|---|---|
| Тема | possible pg_dumpall (7.1.3) bug |
| Дата | |
| Msg-id | 3C6D45E7.6030302@olemiss.edu обсуждение исходный текст |
| Список | pgsql-hackers |
This may be with the pg_dumpall script from 7.1.3 but the restoration died as a result of the owner not being able to create the database it owned... Steps to reproduce: create a user [testuser] with createdb privilege (to create a database that they own) create a database testdb using testuser's account drop the createdb privilege from testuser (so they can't create an more databases) add a table to the testdb as testuser pg_dumpall > dump.pgsql upgrade to postgresql 7.2 psql -U postgres template1 < dump.pgsql*it dies here* Can pg_dumpall create the script where user postgres creates the database and the assigns the owner to another user rather than assuming the owner can create the database?
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера