![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
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 ora problem somewhere with how I have things configured? Is there are workaround? |
#2
| |||
| |||
|
|
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 ora problem somewhere with how I have things configured? Is there are workaround? |
#3
| |||
| |||
|
|
I don't know of an easy workaround. Why do you need numeric usernames? |
#4
| |||
| |||
|
|
On Tue, 12 Oct 2004, 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 ora problem somewhere with how I have things configured? Is there are workaround? I believe you can create a user with a quoted identifier that is all numbers (ie CREATE USER "35236") but then you have to quote the username for sql statements like grant and revoke as well. |
#5
| |||
| |||
|
|
Neil Conway <neilc (AT) samurai (DOT) 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 |
#6
| |||
| |||
|
|
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). |
).![]() |
| Thread Tools | |
| Display Modes | |
| |