Subject | Re: [Firebird-Architect] Autonomous Transaction Routines |
---|---|
Author | Vlad Khorsun |
Post date | 2007-11-09T14:57:48Z |
> On Friday 09 November 2007 17:38, Vlad Khorsun wrote:Its not independent from the flow control POV
> > BEGIN AUTONOMOUS
> > INSERT ..
> > END
> > Yes. From the user point of view BEGIN ... END is a block of code.
> > And BEGIN AUTONOMOUS ... END clearly states it is block of autonomous code
> > (or autonomous block of code :), i think.
>
> If we want to highlight a fact, that this is not flow control, but transaction
> control, at the SQL syntax level, this approach is better. On the other hand,
> it IS a kind of flow control - we create independent path of PSQL code
> execution.
> > Also it eliminate needs for newBoth syntax's requires one new reserved word - AUTONOMOUS.
> > syntax construction
>
> Not agreed, using std compound-statement requires less new syntax
> constructions.
Or i not understand you there :(
> Though this should not be criteria for selection :)All above is just my feeling how it could be most logical ;)
Regards,
Vlad