Re: Deleting prepared statements from libpq.

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Deleting prepared statements from libpq.
Дата
Msg-id ZI+TtlI0Gfg1V1kx@paquier.xyz
обсуждение исходный текст
Ответ на Re: Deleting prepared statements from libpq.  (jian he <jian.universality@gmail.com>)
Список pgsql-hackers
On Sun, Jun 18, 2023 at 09:23:22PM +0800, jian he wrote:
> previously I cannot link it. with
> v2-0001-Support-sending-Close-messages-from-libpq.patch. now I can
> compile it, link it, but then run time error.
> same c program in the first email.
> when I run it ./a.out, then error:
> ./a.out: symbol lookup error: ./a.out: undefined symbol: PQsendClosePrepared

If you still have problems, it seems to me that one mistake is in not
updating LD_LIBRARY_PATH.  It should point to a version of libpq
compiled with the patch, or -lpq will not be able to resolve correctly
when compiling your test program.
--
Michael

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: [PATCH] hstore: Fix parsing on Mac OS X: isspace() is locale specific
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Deleting prepared statements from libpq.