Обсуждение: libpsqlodbc and libpq segfault

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

libpsqlodbc and libpq segfault

От
Philipp Käser
Дата:
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