[ZODB-Dev] Packless and copyTransactionsFrom()????

Barry A. Warsaw barry@zope.com
Fri, 17 Aug 2001 11:06:06 -0400


>>>>> "JDH" == John D Heintz <jheintz@isogen.com> writes:

    JDH> What choices to I have for moving objects from a Packless
    JDH> storage to a FileStorage?

    JDH> Packless doesn't seem to implement iterator(), so I can't use
    JDH> copyTransactionsFrom().

    JDH> Could I use the same Berkeley db files with the Full storage?
    JDH> That implements iterator?

No, because Full storage uses several more tables to keep track of all
the extra information.  I won't even guarantee that Packless and
Minimal use the same table formats (they might, but I can't promise
it).  Not that Minimal implements iterator yet either. ;)

    JDH> Or do I need to do an export?

Probably so.

-Barry