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
6d27d28287
Implement a converter from old .INI syntax to current commands.
2013-10-12 23:59:28 +02:00
Dimitri Fontaine
7d1b34477e
Implement CSV option keep|trim unquoted blanks.
2013-10-12 14:49:52 +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
e374b51b41
Simplify code generation for before/after/finally sql blocks.
2013-10-11 12:07:38 +02:00
Dimitri Fontaine
38d5ad6829
Fix compilation warnings when not using before/after load constructs.
2013-10-11 11:56:12 +02:00
Dimitri Fontaine
1cf15b0f6f
Add a NULL test case and fix some areas of the code to make it pass.
2013-10-11 11:20:35 +02:00
Dimitri Fontaine
3221ce6cc3
Add support for loading INLINE data in CSV commands.
2013-10-11 01:00:52 +02:00
Dimitri Fontaine
f22eeec123
Allow LOAD CSV command to accept BEFORE LOAD DO and AFTER LOAD DO sections.
2013-10-10 23:37:49 +02:00
Dimitri Fontaine
65035b1bc6
Allow for loading CSV files not using any field quoting.
2013-10-08 22:16:52 +02:00
Dimitri Fontaine
bab53d1cd0
Improve testing, load commands from files.
2013-10-08 21:48:43 +02:00
Dimitri Fontaine
fe68fba3d3
Assorted MySQL migration bugfixes (reset sequence formating, etc).
2013-10-05 22:38:09 +02:00
Dimitri Fontaine
ef6eb2bd3c
Allow filtering the MySQL migration to a single table from the command language.
2013-10-05 18:02:42 +02:00
Dimitri Fontaine
c01b693f21
Force MySQL identifiers that are PostgreSQL reserved keywords to be quoted.
2013-10-05 17:02:57 +02:00
Dimitri Fontaine
b12d71cfe0
Add a facility to better play with connection strings: with-database-uri.
2013-10-03 21:28:44 +02:00
Dimitri Fontaine
005b33d99f
Export more practical stuff in the main package, and make run-command smarter.
2013-10-03 21:00:16 +02:00
Dimitri Fontaine
2bf7c4df12
Assorted clean up to prepare a binary image.
2013-10-03 17:42:09 +02:00
Dimitri Fontaine
2528d8ac21
Direct tests to use the ip4r database.
2013-10-01 23:51:49 +02:00
Dimitri Fontaine
ea5a373ad9
Fix loading examples to avoid loading with the index already there.
2013-10-01 00:11:54 +02:00
Dimitri Fontaine
ccc153b9e1
Don't report a separation line when there's no finally section to separate...
2013-09-30 19:54:26 +02:00
Dimitri Fontaine
d3991690cf
Fix handling of CSV loading when not given fields nor columns lists.
2013-09-30 19:48:21 +02:00
Dimitri Fontaine
32d183efa5
Rework the summary handling in LOAD FROM ARCHIVE commands.
2013-09-30 16:04:01 +02:00
Dimitri Fontaine
2a6c974f8e
Handle input file encodings.
2013-09-30 00:26:41 +02:00
Dimitri Fontaine
5ca4348e7e
Fix handling of per-field NULL IF properties.
2013-09-29 22:26:20 +02:00
Dimitri Fontaine
9bea12ed3e
Fix the LOAD FROM ARCHIVE command code paths until it actually works.
2013-09-28 23:45:24 +02:00
Dimitri Fontaine
6e3767bb37
Implement generic field to columns projection with support for user code.
...
And use that new facility in the Archive mode of operations, which is a
practical unit of testing and milestone to reach. We have enough code to
actually compile and try running the parser's output.
2013-09-25 00:01:46 +02:00
Dimitri Fontaine
b4e530981c
WIP implementing full archive fetching and downloading.
2013-09-24 18:34:05 +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
020cd7d3ed
Fix the code to handle lack of target type in MySQL cast rules parsing.
2013-09-20 22:51:44 +02:00
Dimitri Fontaine
dd38c9c154
Implement a command to load data from DBF files.
2013-09-20 15:00:26 +02:00
Dimitri Fontaine
7b97c687d7
Add a test case for parsing several commands at once.
2013-09-20 13:32:43 +02:00
Dimitri Fontaine
bc4927bbbb
Allow to omit the target type definition in a MySQL cast definition.
2013-09-20 13:32:27 +02:00
Dimitri Fontaine
69b2cc119c
Implement a first version of the LOAD CSV FROM command.
2013-09-20 13:14:49 +02:00
Dimitri Fontaine
4aeec53ab4
Fix the syslog messages consumer to actually fill in data queues.
2013-09-18 17:41:27 +02:00
Dimitri Fontaine
0d43c31164
Have pgloader.syslog actually send data to PostgreSQL.
2013-09-18 15:38:55 +02:00
Dimitri Fontaine
20bbf827a3
Review LOAD MESSAGES FROM syntax to allow multiple grammars.
2013-09-18 13:11:04 +02:00
Dimitri Fontaine
ee1655b9cb
Parse the new syslog facility command, and fix usage of semicolons in passing.
2013-09-17 18:20:59 +02:00
Dimitri Fontaine
6b7af735ae
Fix parsing of GUCs, accept either = or to.
2013-08-09 11:54:20 +02:00
Dimitri Fontaine
e78106c60b
Implement GUCs handling.
2013-08-08 17:10:33 +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
d385a14897
Add *cast-rules* to keep *default-cast-rules* as default values.
2013-08-05 15:57:47 +02:00
Dimitri Fontaine
51b3ad795e
Add INTO clause to load database from, and fix the clause.
2013-08-05 15:57:14 +02:00
Dimitri Fontaine
d0e392e4a8
Fix parsing type names in CAST definitions.
2013-07-30 23:17:33 -07:00
Dimitri Fontaine
96e81d3f76
Implement parsing of the USING functions for data transformations.
2013-07-30 22:32:47 -07:00
Dimitri Fontaine
238ef6e8b8
Implement parsing a LOAD DATABASE FROM command syntax.
2013-06-07 18:49:43 +02:00
Dimitri Fontaine
7d874ffcca
Settle on a command language and begin implementing it.
2013-05-09 21:59:28 +02:00