254 Commits

Author SHA1 Message Date
Dimitri Fontaine
6e9a3dfaf5 Add the docs for the foreign keys option, and some formating fixes. 2013-11-05 19:18:05 +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
911c40dc2d Allow more space for the duration column. 2013-11-05 19:14:53 +01:00
Dimitri Fontaine
93deb033f0 Clean-up the duration formating in the summary. 2013-11-05 18:58:54 +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
5624d729c4 Typo fix in the docs. 2013-11-05 17:14:40 +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
fa70dbd978 Fix filtered loading of MySQL databases the same way as SQLite databases. 2013-11-04 23:24:43 +01:00
Dimitri Fontaine
db3902a6d1 Fix advanced parsing of usernames and passwords. 2013-11-04 23:24:19 +01:00
Dimitri Fontaine
ff9d0fd6f5 Fix function exporting bug, and index counts that caused infinite waiting. 2013-11-04 23:13:46 +01:00
Dimitri Fontaine
9600159d3c Add some missing command in the pgloader.1.md overview. 2013-11-04 23:06:33 +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
beba2bc5b0 Call it 3.0.50.2 now that we fixed the API and added SQLite command. 2013-11-04 22:14:36 +01:00
Dimitri Fontaine
11fe7c83e2 Document recently added transform functions. 2013-11-04 22:13:10 +01:00
Dimitri Fontaine
3d41c2c797 Document loading a SQLite database. 2013-11-04 22:10:11 +01:00
Dimitri Fontaine
d406edb558 Docs typo fix. 2013-11-04 22:09:57 +01:00
Dimitri Fontaine
24f47640e2 Add grammar support for loading a SQLite database. 2013-11-04 21:54:51 +01:00
Dimitri Fontaine
99953afa7e Add the forgotten file src/sources/mysql-schema.lisp 2013-11-04 21:24:49 +01:00
Dimitri Fontaine
561eb29175 Add a test case for the sakila database. 2013-11-04 21:24:23 +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
8abbaeea37 Refactor SQLite to use the new API. 2013-11-04 16:22:17 +01:00
Dimitri Fontaine
7482364504 Integrate the dbf source with the new source API. 2013-11-04 14:32:15 +01:00
Dimitri Fontaine
337aa213bc Use the format-pgsql-column API in sources.db3 2013-11-04 13:44:01 +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
63005168fd MySQL SET datatype support: convert to ENUM Arrays. 2013-11-01 11:34:43 +00:00
Dimitri Fontaine
86afe36c84 Implement float-to-string as transform function. 2013-10-24 11:05:34 +02:00
Dimitri Fontaine
50114a0d3a Hack-in some support for SQLite data source, including some refactoring preps. 2013-10-24 00:21:46 +02:00
Dimitri Fontaine
6e29957c1c Fix the default value for *pgconn-port* when it comes from the environement. 2013-10-24 00:20:33 +02:00
Dimitri Fontaine
0fd3e1877f Remove "internal" libs that are now published separately at github. 2013-10-22 21:14:05 +02:00
Dimitri Fontaine
02914741c1 Report PostgreSQL warnings as a :warning log entry, not an :error. 2013-10-21 23:23:40 +02:00
Dimitri Fontaine
2f6c7677fc Fix "reset sequences" option to only target just loaded tables. 2013-10-21 23:15:24 +02:00
Dimitri Fontaine
f977c5a503 Fix MySQL database migration where the wrong database name was used in places. 2013-10-21 22:44:20 +02:00
Dimitri Fontaine
ffebcf3bc7 Clean out the code by splitting away a bunch of PostgreSQL related facilities. 2013-10-21 22:35:22 +02:00
Dimitri Fontaine
73de5b7186 Declare CSV projected fields ignorable in the generated code to be compiled. 2013-10-20 23:40:42 +02:00
Dimitri Fontaine
9fd0bbabe2 Yet another round of fixes for the test setup.
Including some Makefile hacks where test doesn't depend on the main pgloader
binary anymore because I coulnd't stop the binary to get being built again
even if it's been done already...
2013-10-20 23:27:11 +02:00
Dimitri Fontaine
5868a80717 Fix make test to run correctly in a VM environment. 2013-10-20 22:57:10 +02:00
Dimitri Fontaine
208d10c919 Review and clean the vagrant setup, add tests. 2013-10-20 22:51:06 +02:00
Dimitri Fontaine
fb818ee0e3 Move sources into their own subdirectory, assorted cleaning. 2013-10-20 19:09:09 +02:00
Dimitri Fontaine
031c62c663 Allow for some automated testing using vagrant. 2013-10-20 01:02:10 +02:00
Dimitri Fontaine
6d322fba7c Fix *default-tmpdir* setting when using /tmp/. 2013-10-20 01:01:29 +02:00
Dimitri Fontaine
f619054c79 Improve database connection parsing to use sensible defaults. 2013-10-19 22:39:09 +02:00
Dimitri Fontaine
a86ff9666e Have *pgconn-port* default to PGPORT env it set, or 5432. 2013-10-18 11:38:14 +02:00
Dimitri Fontaine
f768f74cbb Add support for comments (-- and /* */ style) in the command language. 2013-10-18 11:19:24 +02:00
Dimitri Fontaine
de7052e9d3 Document the --upgrade-config option. 2013-10-13 23:18:42 +02:00