Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Permissions to connect to postgres database



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



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group