| От | Dado Feigenblatt |
|---|---|
| Тема | backup: restoring, problems with permissions |
| Дата | |
| Msg-id | 3BFC55B0.7050607@wildbrain.com обсуждение исходный текст |
| Список | pgsql-general |
I'm getting close to releasing a database for use so I changed some user
passwords,
which use to be the same for every user, including postgres.
Now I have this problem in psql:
when conected as postgres (or other user) I can only use
\c database newuser
if the newuser password is the same as the current user.
So when using psql to restore pg_dumps, psql is choking on those cases,
as it tries switching to another user before creating the tables.
Should I create everything as user postgres and change ownership later?
Is that actually possible?
Can I change pg_database.datdba and pg_class.relowner to another user id
without breaking anything?
What am I missing?
Thanks
--
Dado Feigenblatt Wild Brain, Inc.
Technical Director (415) 216-2053
dado@wildbrain.com San Francisco, CA.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера