[ZODB-Dev] Question about _p_oid consistency and ExportImport vs. copyTransactionsFrom

Jim Fulton jim@zope.com
Mon, 20 Aug 2001 12:31:51 -0400


"John D. Heintz" wrote:
> 
> Hello,
> 
> Just want to verify an assumption.
> 
> Using copyTransactionsFrom() will maintain the same _p_oid, right?

Right, which means it should really only be used on an empty
storage.

> ExportImport will generate new _p_oid values, right?

Yup.

Jim

--
Jim Fulton           mailto:jim@zope.com       Python Powered!        
Technical Director   (888) 344-4332            http://www.python.org  
Zope Corporation     http://www.zope.com       http://www.zope.org