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$ (view raw, whole thread or download thread mbox)
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.


mike focosi
senior applications programmer
golden dome media


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

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