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

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


"John D. Heintz" wrote:
> 
> On Friday 17 August 2001 10:06, Barry A. Warsaw wrote:
> >
> >     JDH> Or do I need to do an export?
> >
> > Probably so.
> >
> > -Barry
> 
> How do I do it while keeping the oids the same?  For better or worse we are
> using the generated _p_oid like the primary key in RDMS-land.

Bad bad bad. :)

I suggest adding the interator implementation to Packless.
Maybe treat the entire database as a single transaction.
This shouldn't be very hard. We'll accept your patch. :)

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