Commit Graph

36 Commits

Author SHA1 Message Date
Dimitri Fontaine
cd1d5ad597 Fix missing *pg-dbname* in CSV processing, resulting in broken logging. 2013-12-25 16:50:14 +01:00
Dimitri Fontaine
b2c9e0d2dc Refactor the whole logging infrastructure not to depend on threads sharing streams. 2013-12-24 19:08:55 +01:00
Dimitri Fontaine
fe302af221 Refactor the dbname API to feed from the connection string directly. 2013-12-20 17:24:02 +01:00
Dimitri Fontaine
49f2567b0d Improve stats on meta-data and before sections. 2013-12-20 10:50:27 +01:00
Dimitri Fontaine
e09eb3fbb2 There is always a need for a before state when migrating from MySQL... 2013-12-20 10:19:36 +01:00
Dimitri Fontaine
2019b918f0 Implement support for matching several files in a single archive clause. 2013-11-26 16:47:37 +01:00
Dimitri Fontaine
de1afc7416 Fix CSV and FIXED parsing to run the BEFORE section before doing PostgreSQL introspection. 2013-11-26 11:51:42 +01:00
Dimitri Fontaine
e4b50d2315 An archive always need a before state to be able to report about its extract step. 2013-11-24 17:09:56 +01:00
Dimitri Fontaine
ea4e74e545 Improve parsing of list separating commas wrt to whitespacing. 2013-11-23 21:49:08 +01:00
Dimitri Fontaine
4bc4cc53a7 Add support for connecting to PostgreSQL with Unix Domain Sockets, fixing #15. 2013-11-22 17:19:48 +01:00
Dimitri Fontaine
6a6684bd8b Desultory improve the SQLite importer. 2013-11-21 21:34:02 +01:00
Dimitri Fontaine
8d8e0b041a Allow filename matching expressions in the FIXED command, and support it in archives. 2013-11-18 11:38:50 +01:00
Dimitri Fontaine
b31ccded6f Implement per-column MySQL CAST rules. 2013-11-18 10:12:43 +01:00
Dimitri Fontaine
8fa7a86013 Implement typemod and default guards in the MySQL CAST clause. 2013-11-17 22:33:06 +01:00
Dimitri Fontaine
d295001a2a Review the main function to better handle per-filename-argument errors. 2013-11-17 19:02:26 +01:00
Dimitri Fontaine
718ac80560 Implement a Materiaze Views option for MySQL. 2013-11-16 21:41:07 +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
a227943012 Fix the logging system, we now have a proper logfile. 2013-11-07 20:46:47 +01:00
Dimitri Fontaine
9d5dad7e3e Implement support for FIXED COLS input files, reaching release candidate status. 2013-11-07 15:39:28 +01:00
Dimitri Fontaine
74dd19a1d1 Fix sqlite-options to include option-data-only. 2013-11-05 23:43:54 +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
450c06b6fb Add a "with foreign keys" option to the MySQL Command. 2013-11-05 19:16:12 +01:00
Dimitri Fontaine
e53e613a82 Implement support for MySQL Foreign Keys. 2013-11-05 18:48:54 +01:00
Dimitri Fontaine
6593995832 Add support for BEFORE LOAD DO and FINALLY DO blocks in the MySQL command. 2013-11-05 17:07:13 +01:00
Dimitri Fontaine
7ef8cd7667 Implement filtering against the list of tables to migrate, in SQLite. 2013-11-05 14:52:22 +01:00
Dimitri Fontaine
2477b68e15 Implement filtering against the list of tables to migrate, in MySQL. 2013-11-05 14:48:05 +01:00
Dimitri Fontaine
db3902a6d1 Fix advanced parsing of usernames and passwords. 2013-11-04 23:24:19 +01:00
Dimitri Fontaine
63f2a2f5c1 Fix parse rules for users and passwords. 2013-11-04 23:06:20 +01:00
Dimitri Fontaine
70a9a46537 Fix a bug in params.lisp init when PGPORT isn't set. 2013-11-04 22:53:00 +01:00
Dimitri Fontaine
24f47640e2 Add grammar support for loading a SQLite database. 2013-11-04 21:54:51 +01:00
Dimitri Fontaine
7144cfc1ac Some more cleanup, where (declare (special ...)) is not needed. 2013-11-04 20:56:39 +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
Dimitri Fontaine
5844101e5a The *pgsql-reserved-keywords* moved to the pgloader.pgsql pacakge. 2013-11-03 18:02:59 +01:00
Dimitri Fontaine
fb818ee0e3 Move sources into their own subdirectory, assorted cleaning. 2013-10-20 19:09:09 +02:00