On 7/3/06 8:21 AM, Danial Pearce wrote: > I've just finished scrolling through your existing discussion started > here: > > http://sourceforge.net/mailarchive/message.php?msg_id=15184811 > > I also have a bytea column that i'm trying to get data in and out of. > I've always known in the past that when dealing with postgres and > bytea columns, you can't simply do $dbh->quote($val) or use a > placeholder for bytea columns. The only way is to do a bind_param for > every param. Which as you have already discussed, could be quite a > lot of overhead. [...]
Just FYI, I'm adding support for PG's BYTEA column right now. I've got it working for all object operations (insert/update) and I'm working on the Manager next. I've implemented it in such a way that bind_param() is only called if there's at least one column that requires it. So if you have no BYTEA columns in a class, then the additional overhead of calling bind_param() will not be present. -John ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Rose-db-object mailing list Rose-db-object@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rose-db-object