Re: About subxact and xact nesting level... - Mailing list pgsql-hackers

From Tom Lane
Subject Re: About subxact and xact nesting level...
Date
Msg-id 9811.1462242149@sss.pgh.pa.us
Whole thread Raw
In response to Re: About subxact and xact nesting level...  ("dandl" <david@andl.org>)
Responses Re: About subxact and xact nesting level...
List pgsql-hackers
"dandl" <david@andl.org> writes:
> Are there specific requirements or things to do/avoid in order to use
> subtransactions (at the PL API level)?

There isn't, currently, any very hard-and-fast rule about what APIs
extensions should use or not use.  My advice is to borrow freely
from existing PLs, particularly pl/pgsql.  You might have to change
your code in future PG major versions, but that could happen anyway.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Fix for OpenSSL error queue bug
Next
From: "dandl"
Date:
Subject: Re: About subxact and xact nesting level...