Re: Case sensitivity problems with user name

From: "Will Rutherdale (rutherw)" <rutherw(at)cisco(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Case sensitivity problems with user name
Date: 2009-03-24 20:38:58
Message-ID: 50A8E1F8D9122546A7F67134915EDB7A3B8E40@xmb-rtp-21a.amer.cisco.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Yes, that worked, thanks.

After also doing this:

alter database "mickey" rename to "Mickey";

it solved the problem.

Pardon my newness to Postgres.

-Will

-----Original Message-----
From: John R Pierce [mailto:pierce(at)hogranch(dot)com]
Sent: 24 March 2009 16:21
To: Will Rutherdale (rutherw)
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] Case sensitivity problems with user name

Will Rutherdale (rutherw) wrote:
> When I try going into psql as user postgres to change the user name, I

> get this problem:
>
> postgres=# alter user mickey rename to Mickey;
>
> ERROR: role "mickey" already exists
>

you might try...

alter user "mickey" rename to "Mickey";

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Raymond O'Donnell 2009-03-24 22:44:37 Re: Case sensitivity problems with user name
Previous Message Berdam 2009-03-24 20:25:32 Res: Case sensitivity problems with user name