Subject | Re: [Firebird-Architect] Autonomous Transaction Routines |
---|---|
Author | Nando Dessena |
Post date | 2007-11-09T12:40:13Z |
Adriano,
A> Alex Peshkov escreveu:
A> We can change it if there is good arguments for. ;-)
I understand the benefits and the rationale in Alex's suggestion.
However, I think that:
- this is not flow control like FOR, IF or WHILE, so it deserves to be
seen somewhat differently; and
- it doesn't read very well IMHO.
OTOH, I don't have any suggestions better than BEGIN/END AUTONOMOUS
TRANSACTION. :-)
Ciao
--
Nando Dessena
A> Alex Peshkov escreveu:
>> And may I suggest slightly other syntax. We never writeA> It's current defined this way. That seems more a PSQL-like command.
>> BEGIN FOR SELECT ...
>> END FOR SELECT
>> May be for autonomous transaction a bit more traditionally-looking syntax can
>> be used, i.e.:
>> IN AUTONOMOUS TRANSACTION DO {complex_statement}
A> We can change it if there is good arguments for. ;-)
I understand the benefits and the rationale in Alex's suggestion.
However, I think that:
- this is not flow control like FOR, IF or WHILE, so it deserves to be
seen somewhat differently; and
- it doesn't read very well IMHO.
OTOH, I don't have any suggestions better than BEGIN/END AUTONOMOUS
TRANSACTION. :-)
Ciao
--
Nando Dessena