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
Dimitri Fontaine
a97a228ec9
Add a --upgrade-config option to the main command line.
2013-10-13 23:15:29 +02:00
Dimitri Fontaine
8caf408c59
Fix the INI parsing to support setting "table" in a template.
2013-10-13 23:15:13 +02:00
Dimitri Fontaine
c84b8d63d1
Revise buildapp instructions now that we use our fork of cl-csv (temporarily).
2013-10-13 23:14:26 +02:00
Dimitri Fontaine
e1d2bd1318
Improve LOAD DBF command (support for http and zip).
2013-10-13 22:48:24 +02:00
Dimitri Fontaine
89aaabd179
Port tests from pgloader 2.x, implement trailing-sep.
2013-10-13 22:10:07 +02:00
Dimitri Fontaine
bfaf996265
Bugfix pgloader.pgsql::retry-batch (typo, forgot the columns).
2013-10-13 21:35:49 +02:00
Dimitri Fontaine
6d27d28287
Implement a converter from old .INI syntax to current commands.
2013-10-12 23:59:28 +02:00
Dimitri Fontaine
9e53e15067
Document the keep|trim unquoted blanks settings.
2013-10-12 15:11:36 +02:00
Dimitri Fontaine
7d1b34477e
Implement CSV option keep|trim unquoted blanks.
2013-10-12 14:49:52 +02:00
Dimitri Fontaine
4ff7d9ae69
Improve documentation and empty strings test cases, now that cl-csv is fixed.
2013-10-12 14:36:35 +02:00
Dimitri Fontaine
138efc3690
Fix the man page synopsis.
2013-10-11 16:31:53 +02:00
Dimitri Fontaine
1407d379f1
Add support for the SET (gucs) option in the CSV commands.
2013-10-11 13:50:23 +02:00
Dimitri Fontaine
91f7f21917
Tweak the command filename processing to add logs.
2013-10-11 12:14:52 +02:00
Dimitri Fontaine
b762905953
Use our HTTP available very small test case for the archive tests.
2013-10-11 12:07:55 +02:00