Hi,

I just started to rework the session stuff, so things like Postgres should
(hopefully) work out of the box and to add some other nice features.

I have one question about your Postgres patch:

>  sub close {
>     my $self = shift;
>
>     if ($self->{rollback_on_destroy}) {
>         # we may as well be explicit about these things..
>         $self->{dbh}->rollback;
>     } elsif ($self->{commit}) {
>         $self->{dbh}->commit;
>     }
>  }
>
> (requires my earlier patch which sets rollback_on_destroy if
> Transaction=1 was given)
>

Why do you need an extra 'rollback_on_destroy' ?

Why can't you simply use commit ? (If we are allowed to commit, why
shouldn't we rollback if anything went wrong?)

Gerald

-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to