Skip site navigation (1) Skip section navigation (2)

changing privleges in pg_user/shadow

From: "mike focosi" <mike(at)goldendome(dot)com>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: changing privleges in pg_user/shadow
Date: 2000-02-10 18:31:06
Message-ID: 003c01bf73f4$fe92ef00$2a252fd0@goldendome.com (view raw or flat)
Thread:
Lists: 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


Responses

pgsql-admin by date

Next:From: Karl DeBisschopDate: 2000-02-10 18:53:49
Subject: Re: [ADMIN] changing privleges in pg_user/shadow
Previous:From: mike focosiDate: 2000-02-10 16:38:12
Subject:

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group