Re: autonomous transactions - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: autonomous transactions
Date
Msg-id b9436dcf-8b35-8616-8dbb-27c4a4ba78bc@2ndquadrant.com
Whole thread Raw
In response to Re: autonomous transactions  (Craig Ringer <craig@2ndquadrant.com>)
List pgsql-hackers
On 8/31/16 9:11 AM, Craig Ringer wrote:
> Peter, you mention "Oracle-style autonomous transaction blocks".
> 
> What are the semantics to be expected of those with regards to:
> 
> - Accessing objects exclusively locked by the outer xact or where the
> requested lockmode conflicts with a lock held by the outer xact
> 
> - Visibility of data written by the outer xact

The semantics are that the autonomous session is completely isolated
from the parent session.  It has no special knowledge about transactions
happening on the parent.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: autonomous transactions
Next
From: Peter Eisentraut
Date:
Subject: Re: autonomous transactions