pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Karl DeBisschop <kdebisschop@range.infoplease.com>
To: mike@goldendome.com
Cc: pgsql-admin@postgreSQL.org
Subject: Re: [ADMIN] changing privleges in pg_user/shadow
Date: Thu, 10 Feb 2000 13:53:49 -0500
Message-ID: <200002101853.NAA04805@skillet.infoplease.com> (raw)
In-Reply-To: <003c01bf73f4$fe92ef00$2a252fd0@goldendome.com>
References: <003c01bf73f4$fe92ef00$2a252fd0@goldendome.com>


>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



view thread (4+ messages)  latest in thread

Message-ID: <200002101853.NAA04805@skillet.infoplease.com>
Permalink:  ../200002101853.NAA04805@skillet.infoplease.com/
Also on:    postgresql.org/message-id/200002101853.NAA04805@skillet.infoplease.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: kdebisschop@range.infoplease.com, mike@goldendome.com
  Subject: Re: [ADMIN] changing privleges in pg_user/shadow
  In-Reply-To: <200002101853.NAA04805@skillet.infoplease.com>
  References: <003c01bf73f4$fe92ef00$2a252fd0@goldendome.com> <200002101853.NAA04805@skillet.infoplease.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox