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

From Jasbinder Bali
Subject Permissions to connect to postgres database
Date
Msg-id a47902760607270832s61ae5cd8x79a73450c10788a0@mail.gmail.com
Whole thread Raw
Responses Re: Permissions to connect to postgres database  (Richard Huxton <dev@archonet.com>)
List pgsql-general
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 by date:

Previous
From: Scott Eade
Date:
Subject: UTF-8, upper() and Chinese characters yielding blank result
Next
From: "Weiss, Kevin"
Date:
Subject: Update entire column with new date values