changing privleges in pg_user/shadow - Mailing list pgsql-admin

From mike focosi
Subject changing privleges in pg_user/shadow
Date
Msg-id 003c01bf73f4$fe92ef00$2a252fd0@goldendome.com
Whole thread Raw
Responses Re: [ADMIN] changing privleges in pg_user/shadow  (Karl DeBisschop <kdebisschop@range.infoplease.com>)
Re: [ADMIN] changing privleges in pg_user/shadow  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-admin
hello all,

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';

the result is 0 records updated.

any help or pointers to some documention on this is greatly appreciated.

thanks
-mike

mike focosi
senior applications programmer
golden dome media
http://www.gdp.net
http://www.surfmichiana.com
http://www.wndu.com


pgsql-admin by date:

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