Re: [ADMIN] Upgrade problem, with GRANT
От | Bruce Momjian |
---|---|
Тема | Re: [ADMIN] Upgrade problem, with GRANT |
Дата | |
Msg-id | 199807150350.XAA03966@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Upgrade problem, with GRANT (Michael <wwwadmin@wizard.ca>) |
Список | pgsql-admin |
> Well, since I am posting I might as well ask two questions.. > > FIrst, when I upgraded from 6.2.1 to 6.3.2 I performed a pg_dumpall and > after I did an import of the db.out.. All seemed okay, and I assumed > that permissions were okay, but I was wrong. > I was able to log in under postgres user, and the data seemed fine, but > there were no GRANTS > THEN I tried to GRANT all on table_name to user_name; > but it kept coming up as nonexistent user.. It worked fine before the > upgrade, and the user_name does indeed exist.. > What is the problem? This is the first time this has come up. When we added pg_shadow in 6.3, we made pg_user a view. I don't thing pg_dumpall is going to preserve users for such an upgrade, as it normally does. -- Bruce Momjian | 830 Blythe Avenue maillist@candle.pha.pa.us | Drexel Hill, Pennsylvania 19026 + If your life is a hard drive, | (610) 353-9879(w) + Christ can be your backup. | (610) 853-3000(h)
В списке pgsql-admin по дате отправления: