Re: Sending a libpq C function variables through function

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Sending a libpq C function variables through function
Дата
Msg-id Pine.LNX.4.44.0312030709530.10900-100000@peter.localdomain
обсуждение исходный текст
Ответ на Sending a libpq C function variables through function call  (Kris Kiger <kris@musicrebellion.com>)
Список pgsql-admin
Kris Kiger writes:

>  I'm not sure if there is a good way to pass parameters through libpq,
> or will I have to use something like SPI to grab them?  Use of libpq is
> preferable, but not absolute.  I appreciate the input!

There is no choice: libpq connects to a remote database as a client; SPI
performs database actions from within a server-side function.

--
Peter Eisentraut   peter_e@gmx.net


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

Предыдущее
От: Renney Thomas
Дата:
Сообщение: PGSQL and DNCL
Следующее
От: Ashok Chauhan
Дата:
Сообщение: incremental backup