| From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
|---|---|
| To: | Peter Koczan <pjkoczan(at)gmail(dot)com> |
| Cc: | "Jim C(dot) Nasby" <jim(at)nasby(dot)net>, pgsql-admin(at)postgresql(dot)org |
| Subject: | Re: Upgrading to 8.2, changes in user/group management scripts |
| Date: | 2007-01-22 22:35:57 |
| Message-ID: | 20070122223557.GV26006@alvh.no-ip.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
Peter Koczan wrote:
> The main thing I'm worried about is the orphaned objects problem. It's not
> adding users so much as removing them that I'm concerned about (I work at a
> University and we remove inactive/non-enrolled users). These cases would
> likely require a lot more in-depth intervention by myself and other staff.
Instead of deleting stuff from pg_authid directly, use DROP ROLE.
If this doesn't work because the role owns something, you may use a
combination of DROP OWNED and REASSIGN OWNED.
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Iannsp | 2007-01-23 04:25:58 | Re: Function with Array |
| Previous Message | Stephen Frost | 2007-01-22 22:09:54 | Re: Upgrading to 8.2, changes in user/group management scripts |