Re: psql: FATAL: role "xyz" is not permitted to log in
От | Ralph Smith |
---|---|
Тема | Re: psql: FATAL: role "xyz" is not permitted to log in |
Дата | |
Msg-id | 6FD3AA82-7019-4594-A390-EF37A4D662F2@washington.edu обсуждение исходный текст |
Ответ на | Re: psql: FATAL: role "xyz" is not permitted to log in (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: psql: FATAL: role "xyz" is not permitted to log in
|
Список | 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 по дате отправления: