This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: pysqlite provides no interface for database SQL dump
Type: enhancement Stage:
Components: Extension Modules, Library (Lib) Versions: Python 3.0, Python 2.6
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: ghaering Nosy List: ghaering, gregory.p.smith, kippesp
Priority: normal Keywords: patch

Created on 2008-03-19 17:26 by kippesp, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
sqlite_dump_addition.r61630.patch kippesp, 2008-03-19 17:26 Dump implementation
Messages (5)
msg64074 - (view) Author: Paul Kippes (kippesp) * (Python committer) Date: 2008-03-19 17:26
Without the command line interface to sqlite3, there is no easy method
of extracting a database into an SQL dump file.  This creates a problem
should a user want to create an in-memory database (which is useful for
a performance boost) and then save the data for later use.  It also
would be useful should the sqlite3 command not be installed.

The attached patch implements this feature as a method of the Connection
class.
msg64622 - (view) Author: Gregory P. Smith (gregory.p.smith) * (Python committer) Date: 2008-03-28 08:32
thanks!

committed to trunk in r62000.
msg64649 - (view) Author: Gregory P. Smith (gregory.p.smith) * (Python committer) Date: 2008-03-28 20:12
and r62012 which adds the dump.py files I forgot to svn add in r62000.
msg64650 - (view) Author: Gregory P. Smith (gregory.p.smith) * (Python committer) Date: 2008-03-28 20:18
although closed, i'm assigning this to ghaering so that he knows it went
in and can merge this back into pysqlite if its not already in there.
msg64657 - (view) Author: Paul Kippes (kippesp) * (Python committer) Date: 2008-03-28 23:26
Thanks so much.
History
Date User Action Args
2022-04-11 14:56:32adminsetgithub: 46678
2008-03-28 23:26:37kippespsetmessages: + msg64657
2008-03-28 20:18:09gregory.p.smithsetassignee: gregory.p.smith -> ghaering
messages: + msg64650
nosy: + ghaering
2008-03-28 20:12:56gregory.p.smithsetmessages: + msg64649
2008-03-28 08:32:44gregory.p.smithsetstatus: open -> closed
priority: normal
resolution: accepted
messages: + msg64622
2008-03-19 18:34:17gregory.p.smithsetassignee: gregory.p.smith
nosy: + gregory.p.smith
2008-03-19 17:26:20kippespcreate