Re: Cygwin and postgresql connexion

From: "Schiefelbein, Mary Curran" <nachbar(at)ll(dot)mit(dot)edu>
To: BELEM Mahamadou <mabelem2003(at)yahoo(dot)fr>
Cc: "pgsql-cygwin(at)postgresql(dot)org" <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: Cygwin and postgresql connexion
Date: 2008-06-23 13:38:18
Message-ID: 9C3D47D6F648744BB79344F59852C112428ED50180@LLE2K7-BE01.mitll.ad.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

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(at)postgresql(dot)org [mailto:pgsql-cygwin-owner(at)postgresql(dot)org] On Behalf Of BELEM Mahamadou
Sent: Monday, June 23, 2008 9:23 AM
To: pgsql-cygwin(at)postgresql(dot)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 <http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=52423/*http://fr.docs.yahoo.com/mail/overview/index.html> .
Une boite mail plus intelligente.

In response to

Browse pgsql-cygwin by date

  From Date Subject
Next Message BELEM Mahamadou 2008-06-23 16:46:43 why it is impossible to connect to the data base?
Previous Message BELEM Mahamadou 2008-06-23 13:23:21 Cygwin and postgresql connexion