Re: pgsql on debian

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql on debian
Дата
Msg-id 14292.1088374279@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgsql on debian  (Jay <jspothar@cs.uccs.edu>)
Список pgsql-general
Jay <jspothar@cs.uccs.edu> writes:
> i tried the following command but nothing seems to work
> psql -U root -d root
> psql: FATAL:  IDENT authentication failed for user "root"

You basically cannot use the -U switch when using IDENT authorization;
that auth mode requires that your presented Postgres username be the
same as the Unix name you're logged in under.  (If you don't like
this then change to a different auth mode; see pg_hba.conf.)

In any case, root is unlikely to be the name of the postgres superuser.
When you probably want to do is "su" to become postgres and then psql
without using -U.

            regards, tom lane

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

Предыдущее
От: daniel
Дата:
Сообщение: Re: pgsql on debian
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Performance problem on RH7.1