Re: Using libpq to access a repote database from a c trigger function breaks.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Using libpq to access a repote database from a c trigger function breaks.
Дата
Msg-id 10057.983988847@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Using libpq to access a repote database from a c trigger function breaks.  (pgsql-bugs@postgresql.org)
Ответы Re: Using libpq to access a repote database from a c trigger function breaks.  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-bugs
pgsql-bugs@postgresql.org writes:
> Using libpq to access a repote database from a c trigger function breaks.

Try linking libpq.a into your .so file.  I think your references to
PQexec and so forth are being resolved to the
similarly-named-but-completely-different functions that exist in the
backend (see src/backend/libpq).  There is no copy of client libpq in
the standard backend.

            regards, tom lane

В списке pgsql-bugs по дате отправления:

Предыдущее
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: Using libpq to access a repote database from a c trigger function breaks.
Следующее
От: Nicolas GIMMILLARO
Дата:
Сообщение: seq scan on a table whereas an index exist