Re: Transaction safety and large objects. Possible?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Transaction safety and large objects. Possible?
Дата
Msg-id 24195.1138660088@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Transaction safety and large objects. Possible?  (Eric Davies <Eric@barrodale.com>)
Список pgsql-general
Eric Davies <Eric@barrodale.com> writes:
> Now I'm trying to make the functions transaction safe. In theory, all
> I need to do is convert my libpq calls to equivalent SPI calls.
> However, there don't appear to be any SPI equivalents for the large
> object functions like lo_write and lo_read.

What do you need SPI for?  Call the functions directly.  See
src/include/libpq/be-fsstubs.h
src/backend/libpq/be-fsstubs.c

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Logging statements and parameter values
Следующее
От: "John Zubac"
Дата:
Сообщение: Rotation of security logs in Postgres 7.4.11