Re: Permissions to connect to postgres database - Mailing list pgsql-general

From Richard Huxton
Subject Re: Permissions to connect to postgres database
Date
Msg-id 44C8DEE1.5060008@archonet.com
Whole thread Raw
In response to Permissions to connect to postgres database  ("Jasbinder Bali" <jsbali@gmail.com>)
Responses Re: Permissions to connect to postgres database  ("Jasbinder Bali" <jsbali@gmail.com>)
List 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 by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: Generating unique session ids
Next
From: "Merlin Moncure"
Date:
Subject: Re: PostgreSQL and Windows 2003 DFS Replication