Issue 2426: pysqlite provides no interface for database SQL dump (original) (raw)
Issue2426
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.
This issue has been migrated to GitHub: https://github.com/python/cpython/issues/46678
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) * ![]() |
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) * ![]() |
Date: 2008-03-28 08:32 |
thanks! committed to trunk in r62000. | ||
msg64649 - (view) | Author: Gregory P. Smith (gregory.p.smith) * ![]() |
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) * ![]() |
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) * ![]() |
Date: 2008-03-28 23:26 |
Thanks so much. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:56:32 | admin | set | github: 46678 |
2008-03-28 23:26:37 | kippesp | set | messages: + |
2008-03-28 20🔞09 | gregory.p.smith | set | assignee: gregory.p.smith -> ghaeringmessages: + nosy: + ghaering |
2008-03-28 20:12:56 | gregory.p.smith | set | messages: + |
2008-03-28 08:32:44 | gregory.p.smith | set | status: open -> closedpriority: normalresolution: acceptedmessages: + |
2008-03-19 18:34:17 | gregory.p.smith | set | assignee: gregory.p.smithnosy: + gregory.p.smith |
2008-03-19 17:26:20 | kippesp | create |