| От | Thomas Swan |
|---|---|
| Тема | pg_dump, pg_dumpall and createdb privilege |
| Дата | |
| Msg-id | 3D614996.20707@idigx.com обсуждение исходный текст |
| Ответы |
Re: pg_dump, pg_dumpall and createdb privilege
|
| Список | pgsql-hackers |
Using pg_dump and pg_dumpall I ran into the following problems and had addressed it earlier to this list with no response. Using PostgreSQL 7.2.x 1. create a user with createdb privilege. 2. create a database as that user (allowing that user full reign over that particular db) 3. drop the createdb from the user. 4. pg_dumpall the databases to a single file 5. either use pg_restore or psql < infile to restore the databases and it fails. The problem is that the user does not have createdb privilege and therefore the system cannot create a database with that particular user as the owner. Is it possible to address this before the 7.3 release or is this concern no longer a problem in the 7.3 branch?
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера