Search Postgresql Archives

Re: psql: FATAL: role "xyz" is not permitted to log in

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----------------------------------------------------------------
On Apr 4, 2008, at 2:11 PM, Tom Lane wrote:
---------------------------------------------------------------
Ralph Smith <smithrn@xxxxxxxxxxxxxx> 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



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux