From: | "dandl" <david(at)andl(dot)org> |
---|---|
To: | "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | "'PostgreSQL-development'" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: About subxact and xact nesting level... |
Date: | 2016-05-03 02:46:55 |
Message-ID: | 00d601d1a4e6$0ff605f0$2fe211d0$@andl.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> owner(at)postgresql(dot)org] On Behalf Of Tom Lane
> > 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.
I guess you're right. It's not that big, and most of the interesting stuff
seems to be in just a couple of files. And after all, that should be the
gold standard for a PL!
Regards
David M Bennett FACS
Andl - A New Database Language - andl.org
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2016-05-03 02:56:38 | pgindent fixups |
Previous Message | Tom Lane | 2016-05-03 02:22:29 | Re: About subxact and xact nesting level... |