Re: psql: FATAL: role "xyz" is not permitted to log in - Mailing list pgsql-general

From Ralph Smith
Subject Re: psql: FATAL: role "xyz" is not permitted to log in
Date
Msg-id 6FD3AA82-7019-4594-A390-EF37A4D662F2@washington.edu
Whole thread Raw
In response to Re: psql: FATAL: role "xyz" is not permitted to log in  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: psql: FATAL: role "xyz" is not permitted to log in
List pgsql-general
----------------------------------------------------------------
On Apr 4, 2008, at 2:11 PM, Tom Lane wrote:
---------------------------------------------------------------
> Ralph Smith <smithrn@washington.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


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: psql: FATAL: role "xyz" is not permitted to log in
Next
From: "Tim Keitt"
Date:
Subject: Direct access to GIST structure