Re: About subxact and xact nesting level...

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "dandl" <david(at)andl(dot)org>
Cc: "'PostgreSQL-development'" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: About subxact and xact nesting level...
Date: 2016-05-03 02:22:29
Message-ID: 9811.1462242149@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"dandl" <david(at)andl(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message dandl 2016-05-03 02:46:55 Re: About subxact and xact nesting level...
Previous Message Tom Lane 2016-05-03 02:06:38 Re: Fix for OpenSSL error queue bug