From: | Ralph Smith <smithrn(at)washington(dot)edu> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: psql: FATAL: role "xyz" is not permitted to log in |
Date: | 2008-04-04 21:21:35 |
Message-ID: | 6FD3AA82-7019-4594-A390-EF37A4D662F2@washington.edu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
----------------------------------------------------------------
On Apr 4, 2008, at 2:11 PM, Tom Lane wrote:
---------------------------------------------------------------
> Ralph Smith <smithrn(at)washington(dot)edu> writes:
>> I just can't connect to a database, though I can to others as other
>> users...
>
> You're confused about the rules for case sensitivity.
>
>> postgres=# CREATE DATABASE LabNews_dev WITH OWNER=xyz
>> ENCODING='UTF8' ;
>> CREATE DATABASE
>
> This got folded to lower case, since you didn't double-quote the
> name. However, most places where you use a database name outside
> the context of SQL commands, no such folding occurs --- in particular
> not on psql's command line, and IIRC not in pg_hba.conf either.
>
> regards, tom lane
------------------------------------------------------------
However I'm now trying to access it using all lower case.
Are you saying that IT'S confused and I should go all lower or use
quotes (") not (')?
Thanks again,
Ralph Smith
From | Date | Subject | |
---|---|---|---|
Next Message | Tim Keitt | 2008-04-04 21:41:31 | Direct access to GIST structure |
Previous Message | Andrew Dunstan | 2008-04-04 21:17:48 | Re: modules |