Permissions to connect to postgres database

Поиск
Список
Период
Сортировка
Искать
От
Jasbinder Bali
Тема
Permissions to connect to postgres database
Дата
Msg-id
a47902760607270832s61ae5cd8x79a73450c10788a0@mail.gmail.com
Список
Дерево обсуждения
Permissions to connect to postgres database "Jasbinder Bali" <jsbali@gmail.com>
Re: Permissions to connect to postgres database Richard Huxton <dev@archonet.com>
Re: Permissions to connect to postgres database "Jasbinder Bali" <jsbali@gmail.com>
Re: Permissions to connect to postgres database Richard Huxton <dev@archonet.com>
Re: Permissions to connect to postgres database "Shoaib Mir" <shoaibmir@gmail.com>
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.

I'm running this ECPG code under root permissions.
Don't know what needs to be done to make it work.

Is there some kind of a script file that needs to be run
so that everything is well in place.

Regards,
~Jas
В списке pgsql-general по дате отправления
От: Scott Eade
Дата:
От: Weiss, Kevin
Дата:
FAQ