Re: How to access large objects in Postgresql c-language functions?

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: How to access large objects in Postgresql c-language functions?
Дата
Msg-id CAFj8pRCisjLFoZn9f1xNWC-NA=vnHPn_hix0BHNe1NRp4fMOwQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: How to access large objects in Postgresql c-language functions?  (Spiros Ioannou <sivann@inaccess.com>)
Ответы Re: How to access large objects in Postgresql c-language functions?  (Spiros Ioannou <sivann@inaccess.com>)
Список pgsql-general


2015-01-26 20:54 GMT+01:00 Spiros Ioannou <sivann@inaccess.com>:
But these need a connection to the postgresql backend. It seems an overkill for postgresql to connect to itself, I would prefer something more optimal. It seems for now that reading libpq's source code is the only way to go.

No,  it doesn't need - you can call these functions via DirectFunctionCall interface

you can look to contrib/lo module for example

Regards

Pavel
 

Regards,

Spiros

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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: [SQL] check if the same function is already running, then exit!
Следующее
От: Andy Colson
Дата:
Сообщение: Re: check if the same function is already running, then exit!