pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bill Brandt <brandtwr-pgsql@draaw.net>
To: pgsql-sql@postgreSQL.org
Subject: change username
Date: Mon, 28 Dec 1998 13:15:03 -0500
Message-ID: <19981228131503.01192@draaw.net> (raw)

I have a user on my system whose username has recently changed.  The user
owns and is a non-owning user of multiple database.  I have tried a command
of the form:

update pg_user set usename='newname' where usesysid=###;

When I try this I get an error.  Does anyone know how to change this
information?  If I delete the user and recreate the user with the same uid
does that retain all the existing database permissions?

-- 
Bill Brandt                                   
brandtwr@draaw.net                              http://www.draaw.net/



view thread (3+ messages)  latest in thread

Message-ID: <19981228131503.01192@draaw.net>
Permalink:  ../19981228131503.01192@draaw.net/
Also on:    postgresql.org/message-id/19981228131503.01192@draaw.net

 · 

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-sql@postgresql.org
  Cc: brandtwr-pgsql@draaw.net
  Subject: Re: change username
  In-Reply-To: <19981228131503.01192@draaw.net>
  References: <19981228131503.01192@draaw.net>

* 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