plancache ... ok limit ... ok plpgsql ... ok copy2 ... ok temp ... FAILED domain ... ok rangefuncs ... ok prepare ... ok without_oid ... ok conversion ... ok truncate ... ok alter_table ... ok sequence ... ok
I did some small tests and it works well. When I looked to code, I was surprised by hardcoded max nesting level of autonomous transactions
I have completed work on this and some more changes are done on top of earlier patch shared: 1. Fixed all of the issues observed. 2. Addressed some of the feedback from community like a. Change the syntax to START AUTONOMOUS TRANSACTION [READ ONLY | READ WRITE] b. As Pavan had pointed, I have made transaction behavior (only read-only properties) of main and autonomous transaction independent. 3. Added documentation for this feature. 4. Rebased to latest git code.
Please find the attached latest patch and provide opinion.