change username - Mailing list pgsql-sql

From Bill Brandt
Subject change username
Date
Msg-id 19981228131503.01192@draaw.net
Whole thread Raw
Responses Re: [SQL] change username
List pgsql-sql
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/

pgsql-sql by date:

Previous
From: Engard Ferenc
Date:
Subject: Extremely slow update
Next
From: "David Hartwig"
Date:
Subject: Re: [SQL] change username