libpsqlodbc and libpq segfault - Mailing list pgsql-interfaces

From Philipp Käser
Subject libpsqlodbc and libpq segfault
Date
Msg-id 8FBC19E64A26D411B0E3009027F688FB1F0310@indoor.intra.openmind.ch
Whole thread Raw
List pgsql-interfaces
hej,

I'm in progress of porting some application, and had
therefore for the moment both the ODBC and libpq
interfaces linked to the program (since in some program
parts, there are still ODBC queries I had not yet
replaced).

Now, when accessing large objects using the libpq
interface, the program suddenly crashes, segfault.

I then wrote a simple test program, using *only*
libpq interface functions, linked it with both
libpq and libpsqlodbc, and: SEGFAULT, as soon as
I use one of the lo_* functions.

is there any particular reason for that?
(well, it won't be *that* common to have both 
-lpsqlodbc and -lpq, but still...)

bye
Philipp Kaeser
pkaeser@obtree.com


pgsql-interfaces by date:

Previous
From: Dave Page
Date:
Subject: RE: pgadmin
Next
From: Zeljko Trogrlic
Date:
Subject: Re: pgadmin