Re: [ADMIN] Upgrade problem, with GRANT

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: wwwadmin(at)wizard(dot)ca (Michael)
Cc: pgsql-admin(at)postgreSQL(dot)org
Subject: Re: [ADMIN] Upgrade problem, with GRANT
Date: 1998-07-15 03:50:39
Message-ID: 199807150350.XAA03966@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)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)

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Reshma Choodanath 1998-07-15 05:46:39 field types
Previous Message Michael 1998-07-15 03:36:32 Upgrade problem, with GRANT