Re: Transaction control in a C language function - Mailing list pgsql-interfaces

From Tom Lane
Subject Re: Transaction control in a C language function
Date
Msg-id 3352436.1678116090@sss.pgh.pa.us
Whole thread Raw
In response to Transaction control in a C language function  (Flaris Feller <flaris.feller@gmail.com>)
Responses Re: Transaction control in a C language function  (Flaris Feller <flaris.feller@gmail.com>)
List 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 by date:

Previous
From: Flaris Feller
Date:
Subject: Transaction control in a C language function
Next
From: Flaris Feller
Date:
Subject: Re: Transaction control in a C language function