on 9/5/2000 8:23 PM, "Chris" <[EMAIL PROTECTED]> wrote:
> Can we have a discussion about how to remove the gross and disgusting
> hack in the postgres driver regarding binary objects? Hacking the
> postgres driver in this fashion is clearly not the right thing to do.
>
> There seem to be several possible "correct" solutions....
>
> Either the Village API needs to stop assuming that a field can only be
> accessed in one fashion, either integer or binary, and the decision
> needs to be made elsewhere about whether to look at it as binary or
> integer.
>
> or
>
> Stop using large objects to solve this problem. Large objects are a
> pretty awful thing anyway, even more so in postgres where they are
> horribly inefficient.
>
> At first glance, I would say do both. Village can't go through life
> making
> this assumption that you can't pull binary data out of a particular
> field type. And I don't feel at all good running a postgres installation
> with large objects because I know how awful the implementation is (think
> 1 or 2 files for every object!)
there is no reason why you have to use TurbineUserPeer or the Visitor table.
You can invent your own and use that instead by simply pointing to a
different class in the TurbineResources.properties file. they are simply
there as a default setup for people who use databases that actually support
something as simple as a blob. the code is already there for you, simply
copy/paste and rip out the part that you don't like.
as for village, if there is something you don't like in it or a bug, please
post a diff to fix it.
thanks,
-jon
--
http://scarab.tigris.org/ | http://noodle.tigris.org/
http://java.apache.org/ | http://java.apache.org/turbine/
http://www.working-dogs.com/ | http://jakarta.apache.org/velocity/
http://www.collab.net/ | http://www.sourcexchange.com/
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]