Thread: Regarding Postgres access through C

Regarding Postgres access through C

From
Krishnaprasad
Date:
Dear all

       While trying to connect to postgressql through C program iam
getting the following error .....
      
                       
Connectionto database failed. 
                       
FATAL: user "root" does not exist 

How can I connect to the database as user 'postgres' through C .

Rgds
krishna

Re: Regarding Postgres access through C

From
Neil Conway
Date:
Krishnaprasad wrote:
> Dear all
>
>        While trying to connect to postgressql through C program iam getting the
> following error .....
>
>                         Connection to database failed.
>                         FATAL:  user "root" does not exist
>
> How can I connect to the database as user 'postgres' through C .

The pgsql-committers list is for CVS commit messages and related
discussion, not user questions. Please ask your question in a more
appropriate forum (e.g. pgsql-novice).

-Neil