Commit Graph

36 Commits

Author SHA1 Message Date
Dimitri Fontaine
94edae3662 Fix the previous commit... 2013-10-01 00:24:17 +02:00
Dimitri Fontaine
e175e7782a Fix mysql stream-table to be usable directly. 2013-10-01 00:15:29 +02:00
Dimitri Fontaine
2ddaba4284 Fix MySQL schema casting WRT identifers.
In MySQL schema cast, take care to downcase or quote the colum names
references in the index definitions, and replace non alphanumeric characters
with #\_ when downcasing.
2013-09-30 22:09:07 +02:00
Dimitri Fontaine
7151a2ea62 Refactor transaction handling, depend on a patch to postmodern. 2013-09-23 11:30:20 +02:00
Dimitri Fontaine
fd2809277f Code cleanup: use with-stats-collection. 2013-09-23 09:58:41 +02:00
Dimitri Fontaine
ac4f9ff654 Code review, client messages, logs, summary, index naming and building. 2013-09-23 00:09:11 +02:00
Dimitri Fontaine
031a8bd15a First pass at thinking parallel: create indexes while copying next tables... 2013-09-22 16:37:04 +02:00
Dimitri Fontaine
1a28a03e1f Add option "schema only" for MySQL migrations, cleanup code, fix identifer case for indexes. 2013-09-21 17:35:03 +02:00
Dimitri Fontaine
c9dd959fbd Implement MySQL migration option "downcase|quote identifier". 2013-09-20 22:52:45 +02:00
Dimitri Fontaine
ba16f6f6b7 Alway quote identifiers when converting MySQL schema to PostgreSQL. 2013-09-20 10:26:02 +02:00
Dimitri Fontaine
bfcefce45f Fix passing *pg-settings* around in lparallel kernel bindings. 2013-09-19 23:32:17 +02:00
Dimitri Fontaine
be0738d70a Implement casting of MySQL ENUM types. 2013-09-19 15:04:56 +02:00
Dimitri Fontaine
59b931bae4 Fix the comment for the pgloader.mysql::fix-nulls function. 2013-08-08 17:14:54 +02:00
Dimitri Fontaine
8bfb525d2d Fix MySQL empty strings when returned as NULLs... 2013-08-08 17:11:11 +02:00
Dimitri Fontaine
d0ded0a917 Cleanup the casting rules and transforms implementation. 2013-08-08 17:10:02 +02:00
Dimitri Fontaine
5ed766c570 Fully integrate data transformation rules. 2013-08-07 18:42:48 +02:00
Dimitri Fontaine
990c20d137 First stab at implementing parsed casting rules. 2013-08-06 17:28:45 +02:00
Dimitri Fontaine
7b2b208e59 Actually produce code from the LOAD DATABASE FROM command. 2013-08-05 18:23:27 +02:00
Dimitri Fontaine
800df8e91d Use the new casting rules facilities in mysql.lisp 2013-07-30 21:15:26 -07:00
Dimitri Fontaine
5674191534 Switch to the new lparalel.queue:make-queue API. 2013-03-16 23:20:23 +01:00
Dimitri Fontaine
c6c3f11ffe Make it possible to target a PostgreSQL database named differently than the MySQL source database. 2013-03-14 17:17:17 +01:00
Dimitri Fontaine
3e9d8c0468 The portable :external-format name seems to be :utf-8 2013-03-14 15:37:54 +01:00
Dimitri Fontaine
d08ef5aeb7 Take the column type definition such as char(24) rather than just char 2013-03-05 10:54:05 +01:00
Dimitri Fontaine
f4ac2b67db Implement resetting all sequences at the end of the streaming. 2013-02-26 17:06:26 +01:00
Dimitri Fontaine
8042dff854 No need to "use" a given MySQL database when qualifying table names 2013-02-24 23:15:33 +01:00
Dimitri Fontaine
9f596ef4a8 Improve create table/index section names. 2013-02-24 16:53:03 +01:00
Dimitri Fontaine
9aac8ae68b Review the new API around columns and indexes, add a better reporting for them. 2013-02-24 16:46:57 +01:00
Dimitri Fontaine
e2d2a48872 Implement migrating indexes, enhance columns query. 2013-02-24 00:10:32 +01:00
Dimitri Fontaine
b6f9b249ba Implement MySQL Schema Support (create table) 2013-02-21 22:41:54 +01:00
Dimitri Fontaine
4bdfc4097f Implement some CSV parse error handling. 2013-02-11 22:10:50 +01:00
Dimitri Fontaine
9524007e8a Fix the importing from a PostgreSQL COPY TEXT file. 2013-02-11 13:40:07 +01:00
Dimitri Fontaine
9e5f669553 Reset *state* from within top level functions, run.lisp runs some tests now. 2013-02-08 22:22:53 +01:00
Dimitri Fontaine
2c80996d85 Cleanup internal API and stats reporting. 2013-02-08 22:10:37 +01:00
Dimitri Fontaine
f6bdf64c7c Cleanup the package definitions and inter-dependancy, and implement a proper data structure for sharing stats about what's happening. 2013-02-07 21:55:10 +01:00
Dimitri Fontaine
08f7791f66 Arrange to report errors per table in the reports. 2013-02-07 18:15:01 +01:00
Dimitri Fontaine
623e2d4ff7 Massive Refactoring, towards pgloader. 2013-02-07 00:04:12 +01:00