Обсуждение: Regarding Postgres access through C

Поиск
Список
Период
Сортировка

Regarding Postgres access through C

От
Krishnaprasad
Дата:
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

От
"A. Kretschmer"
Дата:
am  23.02.2006, um 15:14:58 +0530 mailte Krishnaprasad folgendes:
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>

Please, no HTML!

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

http://www.postgresql.org/docs/8.1/interactive/ecpg.html


HTH, Andreas
--
Andreas Kretschmer    (Kontakt: siehe Header)
Heynitz:  035242/47215,      D1: 0160/7141639
GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net
 ===    Schollglas Unternehmensgruppe    ===