Re: Nested Transactions, Abort All - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: Nested Transactions, Abort All
Date
Msg-id Pine.LNX.4.44.0407091755110.32281-100000@kix.fsv.cvut.cz
Whole thread Raw
In response to Re: Nested Transactions, Abort All  ("Zeugswetter Andreas SB SD" <ZeugswetterA@spardat.at>)
Responses Re: Nested Transactions, Abort All
List pgsql-hackers
> 
> An 'END SUB' after a 'BEGIN SUB' in plpgsql could be required, and could
> mean start/end block and subtx. I do not really see a downside.
> But, it would imho only make sense if the 'END SUB' would commit sub
> or abort sub iff subtx is in aborted state (see my prev posting)
> 
> Andreas
> 
Hello,

is good idea use keywords "begin sub" and "end sub"? Programmers like me 
will be an problems with reading and writing SP, because begin sub and 
mostly end sub are keywords from visual basic with different sense. 
BEGIN SUBTRANSACTION and END SUBTRANSACTION is longer but more readable

regards
Pavel Stehule



pgsql-hackers by date:

Previous
From: "Jonah H. Harris"
Date:
Subject: Re: User Quota Implementation
Next
From: Rod Taylor
Date:
Subject: Re: User Quota Implementation