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

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

В списке pgsql-general по дате отправления:

Предыдущее
От: Ralph Smith
Дата:
Сообщение: psql: FATAL: role "xyz" is not permitted to log in
Следующее
От: Ralph Smith
Дата:
Сообщение: Re: psql: FATAL: role "xyz" is not permitted to log in