Re: Named transaction - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Named transaction
Date
Msg-id 4A395D28.6050801@dunslane.net
Whole thread Raw
In response to Re: Named transaction  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
List pgsql-hackers

Kevin Grittner wrote:
> Tom Lane <tgl@sss.pgh.pa.us> wrote: 
>  
>   
>> Yes, but some other followups suggest that maybe a "named
>> transaction" does something else entirely.  Thus my request for a
>> definition of what the OP is actually asking for.
>>     
>  
> Well, a quick google search suggests that all three guesses here were
> off base.  This is the best clue I could find with a two-minute
> perusal:
>  
> # TRANSACTION_HANDLE -> use a named transaction. Firebird allows
> # multiple transactions per connection. In the case below, this
> # request is run in the system transaction - not available outside the
> # engine.  The system transaction number is 0 and it is
> # "pre-committed" meaning that its changes are immediately visible to
> # all other transactions.
>  
> Does that send a nasty chill up anyone else's spine?
>  
>
>   


Well, it does even more when you read in the docs that Firebase DDL can 
*only* take place in the context of the system transaction.

cheers

andrew


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Named transaction
Next
From: Greg Sabino Mullane
Date:
Subject: Cannot use all four trigger events at once