Re: [ADMIN] changing privleges in pg_user/shadow - Mailing list pgsql-admin

From Karl DeBisschop
Subject Re: [ADMIN] changing privleges in pg_user/shadow
Date
Msg-id 200002101853.NAA04805@skillet.infoplease.com
Whole thread Raw
In response to changing privleges in pg_user/shadow  ("mike focosi" <mike@goldendome.com>)
List pgsql-admin
>i am wondering if it is possible to change the attributes in pg_user and
>pg_shadow for a paticular user. i can't seem to find any documentation on
>'updating' users other than createuser and dropuser. is it possible to
>change the users' attributes? for example could this doesn't seem to work:
>
>mydb=>update pg_user set usecreatedb = 'f' where usename = 'mike';

pg_user is anon-updatable view.

If you are a superuser, however, you can update pg_shadow.

--
Karl DeBisschop <kdebisschop@alert.infoplease.com>
617.832.0332 (Fax: 617.956.2696)

Information Please - your source for FREE online reference
http://www.infoplease.com  - Your Ultimate Fact Finder
http://kids.infoplease.com - The Great Homework Helper

Netsaint Plugins Development
http://netsaintplug.sourceforge.net

pgsql-admin by date:

Previous
From: "mike focosi"
Date:
Subject: changing privleges in pg_user/shadow
Next
From: "mike focosi"
Date:
Subject: Re: [ADMIN] changing privleges in pg_user/shadow