Dimitri Fontaine
27f485b4d6
Default make target is now building pgloader self-contained binary.
2013-11-13 21:45:33 +01:00
Dimitri Fontaine
a41ce12023
Transform dates with just day of month set to "00" to NIL.
2013-11-13 21:45:11 +01:00
Dimitri Fontaine
2a65a1d39f
Fix setting of PostgreSQL GUCs and transaction usage for DDL.
2013-11-12 11:34:31 +01:00
Dimitri Fontaine
a123cd472b
Better INSTALL section.
2013-11-12 11:23:07 +01:00
Dimitri Fontaine
c706813465
Review the README.
2013-11-12 11:19:06 +01:00
Dimitri Fontaine
59d8188ad0
Implement --log-min-messages and --client-min-messages for more control.
2013-11-08 21:53:21 +01:00
Dimitri Fontaine
3486cc688f
Looks like I forgot to add fixed.lisp in the asd system definitions.
2013-11-08 21:50:40 +01:00
Dimitri Fontaine
9496382b65
Fix type declaration in transform function time-with-no-separator.
2013-11-08 21:50:19 +01:00
Dimitri Fontaine
f0cfd4554d
Some code cleanup.
2013-11-08 21:28:09 +01:00
Dimitri Fontaine
2f759a3638
Error out when we couldn't find an index OID.
2013-11-08 21:13:57 +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
47aaadea16
Implement better (hopefully proper) management of PostgreSQL error and warnings.
2013-11-08 18:45:51 +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 240574a1a5f71edefc19a4b0f35f37862bdfeacc.
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
5878df47c8
Fix the error management in pgsql-execute.
2013-11-07 23:22:43 +01:00
Dimitri Fontaine
55940a5a64
Add some more debug information.
2013-11-07 23:18:09 +01:00
Dimitri Fontaine
a9d160dc32
Some more error handling.
2013-11-07 23:17:00 +01:00
Dimitri Fontaine
4095b74db7
Fix stupid logic bug.
2013-11-07 23:06:03 +01:00
Dimitri Fontaine
6c81ea50d5
Don't close the *standard-output* logger.
2013-11-07 22:57:08 +01:00
Dimitri Fontaine
186be010dc
Fix the previous hasty commit.
2013-11-07 22:41:51 +01:00
Dimitri Fontaine
dfe4af5a48
Switch to handler-bind for proper stack-trace in case of the unexpected.
2013-11-07 22:40: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
2fb176f879
Fix new debug message.
2013-11-07 20:51:21 +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
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