Re: Numeric user names

Поиск
Список
Период
Сортировка
Искать
От
Neil Conway
Тема
Re: Numeric user names
Дата
Msg-id
1098159913.1113.112.camel@localhost.localdomain
Ответ на
Numeric user names (Ed Stoner)
Список
Дерево обсуждения
Numeric user names Ed Stoner <ed@whsd.k12.pa.us>
Re: Numeric user names Neil Conway <neilc@samurai.com>
Re: Numeric user names Tom Lane <tgl@sss.pgh.pa.us>
Re: Numeric user names Ed Stoner <ed@whsd.k12.pa.us>
Re: Numeric user names Lincoln Yeoh <lyeoh@pop.jaring.my>
Re: Numeric user names Stephan Szabo <sszabo@megazone.bigpanda.com>
Re: Numeric user names Ed Stoner <ed@whsd.k12.pa.us>
On Wed, 2004-10-13 at 06:31, Ed Stoner wrote:
> I am unable to use the "CREATE USER" command with numeric user names 
> (i.e. CREATE USER 35236 WITH PASSWORD '1234';).  Is this a limitation or 
> a problem somewhere with how I have things configured?  Is there are 
> workaround?

A username is an identifier; per the docs, "SQL identifiers and key
words must begin with a letter (a-z, but also letters with diacritical
marks and non-Latin letters) or an underscore (_). Subsequent characters
in an identifier or key word can be letters, underscores, digits (0-9),
or dollar signs ($)." So it's a limitation.

I don't know of an easy workaround. Why do you need numeric usernames?

-Neil


В списке pgsql-general по дате отправления
От: johnossmann@yahoo.com (John Ossmann)
Дата:
Сообщение: capacity of datatype "text"
От: Neil Conway
Дата:
FAQ