On Sat, Aug 15, 2009 at 4:33 AM, Christian Theune<c...@gocept.com> wrote:
> Hash: SHA1
> On 08/14/2009 09:23 PM, Jim Fulton wrote:
>> I'm working on a utility to strip version records from storages.  I
>> plan to release it in a "bug fix" 3.8 release, probably 3.8.3.
>> It will have some limitations:
>> - It will only convert storages that have an iterator method.  I
>> suspect that FileStorages are the only storages that have iterator
>> methods in 3.8 and sooner. (Maybe RelStorages do too.)
>> - It won't give blob records any special treatment.  I think it's very
>> unlikely that there will be databases that have both version record
>> and blobs.  In any case, it should be possible to copy a blob
>> directory separately after copying the database records.  If someone
>> was insane enough to have blobs in versions, then the database records
>> will be stripped but the associated blob files will be left.  This is
>> so unlikely that I don't intend to spend time dealing with this
>> possibility.
> Hmm. I guess that those would vanish automatically after packing that
> database...

True, with BlobStorage.


Jim Fulton
For more information about ZODB, see the ZODB Wiki:

ZODB-Dev mailing list  -  ZODB-Dev@zope.org

Reply via email to