Commit Graph

1568 Commits

Author SHA1 Message Date
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
3f89a00731 Fix CSV copy-from-file to be usable as-is, and fix conn spec passing. 2013-09-20 11:39:08 +02:00
Dimitri Fontaine
ba16f6f6b7 Alway quote identifiers when converting MySQL schema to PostgreSQL. 2013-09-20 10:26:02 +02:00
Dimitri Fontaine
2135c45763 Review default type casting rules from MySQL to PostgreSQL, include blobs. 2013-09-20 10:18:45 +02:00
Dimitri Fontaine
b072298937 It's unfortunately not possible to SET gucs once already in COPY "mode". 2013-09-19 23:32:53 +02:00
Dimitri Fontaine
bfcefce45f Fix passing *pg-settings* around in lparallel kernel bindings. 2013-09-19 23:32:17 +02:00
Dimitri Fontaine
24db93affd Fix handling of typemod, in particular with numeric data types. 2013-09-19 22:44:02 +02:00
Dimitri Fontaine
be0738d70a Implement casting of MySQL ENUM types. 2013-09-19 15:04:56 +02:00
Dimitri Fontaine
e6d4c73c1b Make Xach's db3 lib into its own asdf piece and integrate it with pgloader. 2013-09-19 00:42:35 +02:00
Dimitri Fontaine
bd6004e6b5 M-x delete-trailing-whitespace 2013-09-18 21:58: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
b9d0edb0ee Fix pgloader.pgsql:get-connection-spec for port handling. 2013-09-18 17:40:43 +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
eb04b34208 Remove unused files. 2013-09-17 10:57:47 +02:00
Dimitri Fontaine
b83228fa3e Small documentation enhancement. 2013-09-09 22:32:29 +02:00
Dimitri Fontaine
9fa7891346 Add an example of start-syslog-server usage as comments. 2013-09-09 22:31:43 +02:00
Dimitri Fontaine
d95bef644a Use the ABNF machinery in the syslog message receiver and parser. 2013-09-09 22:31:11 +02:00
Dimitri Fontaine
a48706d638 Add some more examples. 2013-09-09 22:30:53 +02:00
Dimitri Fontaine
6485101a16 Deduplicate entries in ABNF grammars to allow overloading, and use it. 2013-09-09 22:30:45 +02:00
Dimitri Fontaine
82d4c19386 Remove duplicate rules, actually allowing overriding inherited definitions. 2013-09-09 21:01:08 +02:00
Dimitri Fontaine
e7cb0047c4 Some more docs. 2013-09-09 20:58:16 +02:00
Dimitri Fontaine
24ce3244dd Expand docs, include regex support there. 2013-09-09 20:55:50 +02:00
Dimitri Fontaine
816df63008 Add *abnf-rsyslog* grammar. 2013-09-09 18:21:37 +02:00
Dimitri Fontaine
c55ce55b31 Add direct support for regexp in our ABNF grammar. 2013-09-09 16:56:43 +02:00
Dimitri Fontaine
792458f625 In the example.lisp package no use for full notation. 2013-09-09 14:43:59 +02:00
Dimitri Fontaine
935f88c818 In the example, add the package we get the functions from for clarity. 2013-09-09 14:35:20 +02:00
Dimitri Fontaine
2b78ae0e7a Some documentation about the ABNF package API, with a usage example. 2013-09-09 14:24:05 +02:00
Dimitri Fontaine
6e4edc4560 Split ABNF implementation into its own Quicklisp ready system. 2013-09-09 14:03:28 +02:00
Dimitri Fontaine
726fa724c4 Use abnf- as a keyword prefix rather than rule-. 2013-09-09 13:54:04 +02:00
Dimitri Fontaine
7b33db0076 Avoid symbol clashes with cl-ppcre parse tree symbols (such as :alternation). 2013-09-09 11:05:46 +02:00
Dimitri Fontaine
9025c58c4f Add the RFC 5424 ABNF grammar for syslog messages, and fix char.char.char parsing. 2013-09-08 21:14:14 +02:00
Dimitri Fontaine
815e4fded0 Use the default lookup table when expanding definitions. 2013-09-08 21:13:44 +02:00
Dimitri Fontaine
e533143031 Clean-up trailing parens and type problems (testing on CCL). 2013-09-08 14:18:51 +02:00
Dimitri Fontaine
170a4832dc Fix parse-abnf-grammar to actually create the parser, add a simple test case. 2013-09-08 00:20:02 +02:00
Dimitri Fontaine
cfc4d46081 Have abnf::parse-abnf-grammar actually return a usable cl-ppcre scanner. 2013-09-08 00:01:25 +02:00
Dimitri Fontaine
d6c6b13d0b Implement "registering rules" to capture parts of the ABNF in the resulting parser. 2013-09-07 23:52:58 +02:00
Dimitri Fontaine
af9f8103dd Fix a comment. 2013-09-07 23:39:42 +02:00
Dimitri Fontaine
4db28c5287 Fix the parser to distinguish between reading numbers and char codes. 2013-09-07 23:33:00 +02:00
Dimitri Fontaine
fb0370ea4b We don't need to produce groups from the ABNF itself. 2013-09-07 23:32:36 +02:00
Dimitri Fontaine
cc50052160 Implement ruleset expanding into a cl-ppcre regular expression parse-tree. 2013-09-07 23:18:10 +02:00
Dimitri Fontaine
c0e0ba840a Indentation fix. 2013-09-07 23:17:40 +02:00
Dimitri Fontaine
591554b606 Bug fix ABNF parser main production (we did sort out toplevel-element). 2013-09-05 23:07:52 +02:00
Dimitri Fontaine
573e9af1de Actually allow parsing the syslog draft syntax... 2013-09-05 23:05:05 +02:00
Dimitri Fontaine
0668298faa Our abnf parser now is able to actually parse the syslog draft 15 syntax. 2013-09-05 22:34:33 +02:00
Dimitri Fontaine
725c66f278 First stab at the ABNF parser generator, for easy user edits of syslog message grammar. 2013-09-05 00:14:55 +02:00