Re: username length character limits?

From: Dennis Gearon <gearond(at)fireserve(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: username length character limits?
Date: 2004-07-03 19:48:55
Message-ID: 40E70DA7.70704@fireserve.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

tried it with two underscores and short name:
H1q2W_web_user

with only one underscore and a long name:
H1q2W3e4R5t6Y7u8Iweb_user

with only oneunderscore and a short name:
H1q2Wweb_user

with no underscore and a long name:
H1q2W3e4R5t6Y7u8Iwebuser

with no underschore and a short name:
H1q2W3webuser

--------------------------------------------------------------------
NONE OF THESE NAMES WORK AS USER NAMES WITH THE PASSWORD 'password'.
--------------------------------------------------------------------

I have no idea why.

Where does it say what is the legal:

length
characters
character set (?)

for user names?

one underscore and a short name.

Dennis Gearon wrote:

> Please CC me:
>
> If I create the user 'web_user'
> with password 'password'
> I can connect using 'psql' just fine.
>
> If I create the user 'D1Khb2g5m7FGk_web_user'
> with password 'password'
> I CANNOT connect using 'psql', I get authentication error.
>
> -----------------------------
> ANYONE have any ideas why?
> -----------------------------
>
> PG_VERSION says it's 7.3. I don't know how to find out any more accurately the subversion of that.
>
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Stephan Szabo 2004-07-03 19:56:51 Re: username length character limits?
Previous Message Dennis Gearon 2004-07-03 19:30:14 Re: username length character limits?