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

Re: [ADMIN] changing privleges in pg_user/shadow

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: mike focosi <mike(at)goldendome(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: [ADMIN] changing privleges in pg_user/shadow
Date: 2000-02-10 20:08:45
Message-ID: Pine.LNX.4.21.0002102108200.1014-100000@localhost.localdomain (view raw or flat)
Thread:
Lists: pgsql-admin
See ALTER USER.

On 2000-02-10, mike focosi mentioned:

> 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
> 
> 
> ************
> 
> 

-- 
Peter Eisentraut                  Sernanders väg 10:115
peter_e(at)gmx(dot)net                   75262 Uppsala
http://yi.org/peter-e/            Sweden


In response to

pgsql-admin by date

Next:From: John UhligDate: 2000-02-11 07:49:46
Subject: problem starting 2 postmasters on sun solaris2.6
Previous:From: mike focosiDate: 2000-02-10 20:05:07
Subject: Re: [ADMIN] changing privleges in pg_user/shadow

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