Re: Transaction control in a C language function

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Transaction control in a C language function
Дата
Msg-id 3352436.1678116090@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Transaction control in a C language function  (Flaris Feller <flaris.feller@gmail.com>)
Ответы Re: Transaction control in a C language function  (Flaris Feller <flaris.feller@gmail.com>)
Список pgsql-interfaces
Flaris Feller <flaris.feller@gmail.com> writes:
> I would like to implement transaction control in a function implemented in
> C language.

That will certainly not work unless you make it a procedure.
It'd be a good idea also to check that the CALL came from a
non-atomic context.

            regards, tom lane



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

Предыдущее
От: Flaris Feller
Дата:
Сообщение: Transaction control in a C language function
Следующее
От: Flaris Feller
Дата:
Сообщение: Re: Transaction control in a C language function