Dimitri Fontaine
e710cacad1
Truncate all tables in a single command, fix #61 .
...
The truncate command is only sent to PostgreSQL when we didn't just
CREATE TABLE before. Some refactoring would be necessary to fit the
TRUNCATE command within the same transaction as the CREATE TABLE
command, for PostgreSQL performances.
This patch has been testing with MySQL and SQLite sources, the trick is
that to be able to test it, it's needed to first make a full
import (creating the target tables), so the test are not modified yet.
2014-05-19 18:07:35 +02:00
Dimitri Fontaine
49f2567b0d
Improve stats on meta-data and before sections.
2013-12-20 10:50:27 +01:00
Dimitri Fontaine
6a6684bd8b
Desultory improve the SQLite importer.
2013-11-21 21:34:02 +01:00
Dimitri Fontaine
f0cfd4554d
Some code cleanup.
2013-11-08 21:28:09 +01:00
Dimitri Fontaine
8c9af591e3
Cleanup where to add the table oids for MySQL indexes migration.
2013-11-08 21:09:50 +01:00
Dimitri Fontaine
e9b734dc41
Reverting "Shorten column names in the application to bypass a postmodern bug (or something)."
...
Revert "Shorten column names in the application to bypass a postmodern bug (or something)."
This reverts commit 240574a1a5
.
2013-11-08 17:27:45 +01:00
Dimitri Fontaine
240574a1a5
Shorten column names in the application to bypass a postmodern bug (or something).
2013-11-08 00:10:49 +01:00
Dimitri Fontaine
2e3edde3ad
Implement a generic API to deal with indexes, use it in MySQL and SQLite sources.
2013-11-07 22:07:00 +01:00
Dimitri Fontaine
fe75f3df54
Improve the set of options for loading from databases, assorted fixes.
2013-11-05 23:07:03 +01:00
Dimitri Fontaine
a9dd0aafa3
Fix ALTER TABLE ... DROP CONSTRAINT not to happen against non existing tables or constraints.
2013-11-05 21:24:32 +01:00
Dimitri Fontaine
a7d5f719fa
Some comments cleaning.
2013-11-05 18:49:11 +01:00
Dimitri Fontaine
e53e613a82
Implement support for MySQL Foreign Keys.
2013-11-05 18:48:54 +01:00
Dimitri Fontaine
6a75187b7d
Refactor MySQL to use the new API.
2013-11-04 19:16:08 +01:00
Dimitri Fontaine
7482364504
Integrate the dbf source with the new source API.
2013-11-04 14:32:15 +01:00
Dimitri Fontaine
0a38195853
Refactoring the API with a real definition of it, and reorg the source tree.
2013-11-04 13:21:45 +01:00