On Nov 9, 2004, at 6:33 PM, Neil Schemenauer wrote: > On Tue, Nov 09, 2004 at 06:25:07PM +0100, Mario Ruggier wrote: >> Have I completely misunderstood pack() ? >> Can anyone clarify ? > > Hi Mario, > > Calling pack() implies an abort(). Check out the pack method in > connection.py: > > def pack(self): > """Clear any uncommited changes and pack the storage.""" > self.abort() > self.storage.pack() > > So, you need to call commit() before calling pack(). Note that > packing is only necessary to free up disk space. It does not change > what is visible to the application. We normally pack our databases > once a week. > > Hope that helps, > > Neil Yep, calling commit() before does it... sorry about the trouble. Thanks again, mario