You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by Rhys Dixon <rh...@dyxn.net> on 2002/01/12 01:46:13 UTC
is a transaction still be desirable for postgres and turbine if using bytea?
hi all,
yesterday i posted a fix for the turbine 2.1 release and postgres that
uses bytea instead of oid to store OBJECTDATA. since the transaction is
necessary for large objects in postgres, but not bytea, and other
databases do not use a transaction for OBJECTDATA i changed my
DBPostgres to return false for the "requires transaction" method for
said transaction.
a person on the turbine-user list asked me why i did that. so, given
what i just stated, should i try to justify my decision or just not
worry about it? how will turbine 3 handle this issue?
thanks,
rhys
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: is a transaction still be desirable for postgres and turbine if using bytea?
Posted by Daniel Rall <dl...@finemaltcoding.com>.
Rhys Dixon <rh...@dyxn.net> writes:
> yesterday i posted a fix for the turbine 2.1 release and postgres that
> uses bytea instead of oid to store OBJECTDATA. since the transaction is
> necessary for large objects in postgres, but not bytea, and other
> databases do not use a transaction for OBJECTDATA i changed my
> DBPostgres to return false for the "requires transaction" method for
> said transaction.
>
> a person on the turbine-user list asked me why i did that. so, given
> what i just stated, should i try to justify my decision or just not
> worry about it? how will turbine 3 handle this issue?
The decopuled version of Torque handles this sort of thing in
approximately the same manner as the version coupled to T2.x.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>