Cygwin and postgresql connexion
Cygwin and postgresql connexion
От:
BELEM Mahamadou <mabelem2003@yahoo.fr>
Дата:
Dear all
I am a new user of Postgresql.
I try to connect to a data base using à C++ program. Then, I import libpq-fe.h.
By when I compile my program no error occurs but it is impossible to run the program.
The program stop wothout error during the execution. I use cygwin.
Someone can explain me the problem?
Now I want to use liqpq++ but I don't know how to import this library using cygwin.
I notice that I am using cygwin
Best regard
I am a new user of Postgresql.
I try to connect to a data base using à C++ program. Then, I import libpq-fe.h.
By when I compile my program no error occurs but it is impossible to run the program.
The program stop wothout error during the execution. I use cygwin.
Someone can explain me the problem?
Now I want to use liqpq++ but I don't know how to import this library using cygwin.
I notice that I am using cygwin
Best regard
Envoyé avec Yahoo! Mail.
Une boite mail plus intelligente.
Re: Cygwin and postgresql connexion
От:
"Schiefelbein, Mary Curran" <nachbar@ll.mit.edu>
Дата:
Without compile or link errors, it sounds like your program is simply crashing (segmentation fault?). Try running it in a debugger like gdb. Are you able to compile and run the test programs provided with libpq++? Curran -----Original Message----- From: pgsql-cygwin-owner@postgresql.org [mailto:pgsql-cygwin-owner@postgresql.org] On Behalf Of BELEM Mahamadou Sent: Monday, June 23, 2008 9:23 AM To: pgsql-cygwin@postgresql.org Subject: [CYGWIN] Cygwin and postgresql connexion Dear all I am a new user of Postgresql. I try to connect to a data base using à C++ program. Then, I import libpq-fe.h. By when I compile my program no error occurs but it is impossible to run the program. The program stop wothout error during the execution. I use cygwin. Someone can explain me the problem? Now I want to use liqpq++ but I don't know how to import this library using cygwin. I notice that I am using cygwin Best regard ________________________________ Envoyé avec Yahoo! Mail . Une boite mail plus intelligente.