| From: | Neil Conway <neilc(at)samurai(dot)com> |
|---|---|
| To: | Ed Stoner <ed(at)whsd(dot)k12(dot)pa(dot)us> |
| Cc: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: Numeric user names |
| Date: | 2004-10-19 04:25:13 |
| Message-ID: | 1098159913.1113.112.camel@localhost.localdomain |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Neil Conway | 2004-10-19 04:29:33 | Re: capacity of datatype "text" |
| Previous Message | Ann | 2004-10-19 03:58:07 | Re: memory leak of PQmakeEmptyPGresult? |