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 .

Rgds
krishna