Re: Permissions to connect to postgres database

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Permissions to connect to postgres database
Дата
Msg-id 44C8DEE1.5060008@archonet.com
обсуждение исходный текст
Ответ на Permissions to connect to postgres database  ("Jasbinder Bali" <jsbali@gmail.com>)
Ответы Re: Permissions to connect to postgres database
Список pgsql-general
Jasbinder Bali wrote:
> Hi,
> I have a database in postgres and i've given trusted permissions to all
> making required changes
> in pg_hba.conf.
>
> Now, I'm trying to connect to the database using ECPG. Unfortunately after
> EXEC SQL CONNECT dbxyz
> gives me error -402 that means i don't have permissions to the database.

If you turn on connection logging on the postgresql server you'll see
what's happening. Don't forget system users and postgresql users aren't
connected.

--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Generating unique session ids
Следующее
От: "Merlin Moncure"
Дата:
Сообщение: Re: PostgreSQL and Windows 2003 DFS Replication