[pysqlite] Save memory database to file/load memory database from file

"Jason R. Coombs" <jaraco-aM/[email protected]> Fri, 25 Jul 2008 09:01:56 -0600
Newsgroups gmane.comp.python.db.pysqlite.user
Message-ID <[email protected]>
Gerhard Häring wrote:
> There's no way to serialize/deserialize the structures of the in-memory 
> SQLite VFS.
> 
> One approach is to dump/restore the database:

I'll definitely need something for Python 2.4.  So, in the meantime, I've
put something together that uses a temp file to save the internal structure.

http://paste.turbogears.org/paste/3342

I look forward to a backport of iterdump.

Thanks for pysqlite!

Regards,
Jason

_______________________________________________
list-pysqlite mailing list
list-pysqlite-FR6EJeJVuqdwc357pe9rcyQmJico6nz3epZhswDD4dQ@public.gmane.org
http://itsystementwicklung.de/cgi-bin/mailman/listinfo/list-pysqlite
smime.p7s (application/x-pkcs7-signature, 6.8 KB) - not displayed