Re: Numeric user names

Поиск
Список
Период
Сортировка
От Ed Stoner
Тема Re: Numeric user names
Дата
Msg-id 417515B1.1050006@whsd.k12.pa.us
обсуждение исходный текст
Ответ на Re: Numeric user names  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Numeric user names  (Lincoln Yeoh <lyeoh@pop.jaring.my>)
Список pgsql-general
I want to use bare numbers because that is how the users (students in
this case) are identified on the network and in the student information
system.  They've been identified this way for over 20 years, so it would
be near impossible to change at this point (although it is not always
very convenient :-).  I'm trying (and almost finished now) to have the
postgres server be the source of all user account information on the
network (windows and linux).

-Ed

Tom Lane wrote:
> Neil Conway <neilc@samurai.com> writes:
>
>>I don't know of an easy workaround. Why do you need numeric usernames?
>
>
> There's always double-quoted identifiers:
>     create user "12345" with password ...
>
> Considering that the SQL standard defines <authorization identifier>
> as an <identifier>, I'm not sure why Ed is expecting that he should
> be able to use a bare number as a user name.
>
>             regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: Eric E
Дата:
Сообщение: Sequence question
Следующее
От: Ed Stoner
Дата:
Сообщение: Re: Numeric user names