On Sun, Jun 12, 2011 at 16:40, Hanno Schlichting <ha...@hannosch.eu> wrote:
> It looks like the pg_largeobject table actually uses a bytea column
> itself. This is on a 9.0 database. But if that's true on pre-9.0
> databases as well, the same restrictions of the "escape" format should
> apply here unless the largeobject C code handles things for you.

The largeobject C-code handles this for you.

In the end this comes down to a performance difference, and there are
clearly speed advantages of using the oid type over the bytea type.

-- 
Martijn Pieters
_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to