Commit Graph

1568 Commits

Author SHA1 Message Date
Dimitri Fontaine
5ce5d53d7d Use trivial-backtrace to display more useful information in case of unexpected events, hopefully. 2013-11-07 20:14:06 +01:00
Dimitri Fontaine
5d19d3c0e6 Handle CL-POSTGRES:DATABASE-CONNECTION-LOST in with-pgsql-transaction macro. 2013-11-07 18:02:40 +01:00
Dimitri Fontaine
cd3c9b42ce Some attemps at catching spurious MySQL Errors.
MySQL error: "Lost connection to MySQL server during query" (errno = 2013).
2013-11-07 17:46:28 +01:00
Dimitri Fontaine
36f9a02222 Fix another usage of a nil state in report-full-summary. 2013-11-07 16:39:10 +01:00
Dimitri Fontaine
af2e6cd6de Typo fixes in docs 2013-11-07 16:27:01 +01:00
Dimitri Fontaine
885a6da5a0 Fix a bug in MySQL command execution when no BEFORE LOAD DO section is used. 2013-11-07 15:48:45 +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
914a901230 Some commands don't have a parallel state. 2013-11-07 15:30:30 +01:00
Dimitri Fontaine
ca968e62e4 Some more clean-up. 2013-11-06 15:49:09 +01:00
Dimitri Fontaine
7ae56cbed3 Some docs review, fix MySQL command example, remove FK limitation. 2013-11-06 14:05:20 +01:00
Dimitri Fontaine
d8a6bf1849 Force adding an empty build/ directory in the git tree. 2013-11-05 23:46:27 +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
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
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