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

From Jasbinder Bali
Subject Re: Permissions to connect to postgres database
Date
Msg-id a47902760607270844t5e9f284apba45a53648e266a2@mail.gmail.com
Whole thread Raw
In response to Re: Permissions to connect to postgres database  (Richard Huxton <dev@archonet.com>)
Responses Re: Permissions to connect to postgres database  (Richard Huxton <dev@archonet.com>)
List pgsql-general
How do i turn on the connection logging and then how do you actually check it?

On 7/27/06, Richard Huxton <dev@archonet.com > wrote:
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: "Merlin Moncure"
Date:
Subject: Re: PostgreSQL and Windows 2003 DFS Replication
Next
From: Richard Huxton
Date:
Subject: Re: Update entire column with new date values