libpsqlodbc and libpq segfault

Поиск
Список
Период
Сортировка
От Philipp Käser
Тема libpsqlodbc and libpq segfault
Дата
Msg-id 8FBC19E64A26D411B0E3009027F688FB1F0310@indoor.intra.openmind.ch
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Dave Page
Дата:
Сообщение: RE: pgadmin
Следующее
От: Zeljko Trogrlic
Дата:
Сообщение: Re: pgadmin