Re: Permissions to connect to postgres database

From: "Jasbinder Bali" <jsbali(at)gmail(dot)com>
To: "Richard Huxton" <dev(at)archonet(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Permissions to connect to postgres database
Date: 2006-07-27 15:44:28
Message-ID: a47902760607270844t5e9f284apba45a53648e266a2@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)archonet(dot)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
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Merlin Moncure 2006-07-27 15:44:43 Re: PostgreSQL and Windows 2003 DFS Replication
Previous Message Richard Huxton 2006-07-27 15:42:25 Re: Permissions to connect to postgres database