Commit Graph

1568 Commits

Author SHA1 Message Date
Dimitri Fontaine
a22d4df4b4 Fix debian building where $HOME is read-only. 2014-09-23 10:45:59 +02:00
Dimitri Fontaine
89bc32969a Update pgloader.io download links. 2014-09-22 21:13:48 +02:00
Dimitri Fontaine
2dd39a33e2 Merge debian packaging fixes for 3.1.0. 2014-09-22 21:12:57 +02:00
Dimitri Fontaine
86a3f96d65 Fix debian build on 32 bit systems.
requiring 4GB of RAM in the lisp image is pushing those poor guys.
2014-09-22 21:11:03 +02:00
Dimitri Fontaine
52e3371be8 Review default SQLite options. 2014-09-22 14:34:57 +02:00
Dimitri Fontaine
bf1ab9acd7 Document MySQL LOAD default WITH clause options. 2014-09-21 12:26:24 -05:00
Dimitri Fontaine
d4b58a1f78 Review MySQL default options.
The default values for MySQL WITH clause options wasn't really tested
and broke on simple cases, the new set of defaults is known to work in
many cases (most?).

Other combinations of options will need some review work, and we might
need to consider preventing some of them, that's for another patch tho.
2014-09-21 12:19:20 -05:00
Dimitri Fontaine
52f4180ccd Clean up debian packaging.
The licensing of some of the test material being unclear, make a +dfsg
source archive and packages, also clean up several items that shouldn't
be part of the final debian package (.vagrant, etc).

Thanks Christoph Berg for the review!
2014-09-11 14:22:46 +02:00
Dimitri Fontaine
1acd497a69 Clean the debian package of unclear licensed material.
In passing, fix the clean target too.
2014-09-11 14:11:20 +02:00
Dimitri Fontaine
d5b91f99e5 Cleanup the debian packaging.
And re-add the 2.x era changelog of the package.
2014-09-11 11:29:13 +02:00
Dimitri Fontaine
968956d8ce Travis: actually we still need our own SBCL backport here. 2014-09-10 23:59:27 +02:00
Dimitri Fontaine
33d9784124 Travis: simplify the build script. 2014-09-10 23:46:50 +02:00
Dimitri Fontaine
8ee3604ddd Travis: non interactive debian dist-upgrade. 2014-09-10 23:35:15 +02:00
Dimitri Fontaine
c4141c464d Now that 3.1.0 is released, we're preparing 3.1.1 here. 2014-09-10 23:03:42 +02:00
Dimitri Fontaine
0a3b4af290 Release pgloader 3.1.0! 2014-09-10 23:02:27 +02:00
Dimitri Fontaine
3d95b089b1 Prepare the RPM release. 2014-09-10 22:40:45 +02:00
Dimitri Fontaine
a516a0dffa Prepare the debian release. 2014-09-10 22:40:31 +02:00
Dimitri Fontaine
0e924fa829 Update the VM setup, use sid to build the debian package. 2014-09-10 22:30:47 +02:00
Dimitri Fontaine
be9abe48fe Cleanup some pgsql connection handling. 2014-09-10 22:20:20 +02:00
Dimitri Fontaine
422f87e912 We don't use the zip system anymore. 2014-09-10 22:19:59 +02:00
Dimitri Fontaine
59afcccfce Fix copy/paste'o in the MySQL howto. 2014-09-10 13:03:38 +02:00
Dimitri Fontaine
dbac79d7c2 Add some INSTALL information about CCL. 2014-09-04 21:19:05 +02:00
Dimitri Fontaine
1e723445a5 Fix the README section about producting the man page. 2014-09-04 21:17:43 +02:00
Dimitri Fontaine
6a30e12080 Travis: don't allow apt-get upgrade to prompt. 2014-09-03 09:50:34 +02:00
Dimitri Fontaine
9c604f969b Rename --load into --load-lisp-file
To avoid wasting everybody's time when trying to debug --load
command.load, rename the option to be more explicit about what it does.
Also implement some basic guards in the form of testing that the
filename extension is part of a very short whitelist: .lisp, .cl, .lsp
and .asd.
2014-09-02 22:33:51 +02:00
Dimitri Fontaine
6fda4eb52b Fix MySQL queries for INCLUDING/EXCLUDING clauses, fix #111.
The format string were wrong in that ~@[...~] will not consume the argument
where we need to consume it, so use the more verbose form ~:[~*~;...~]
wherein the ~* rule forces the consuming of the unused argument.

Also, prefer using != and NOT REGEXP operators to the "not ( or )" form,
which was wrong too because spelled "not ( and )".
2014-08-30 13:39:56 +02:00
Dimitri Fontaine
a41f8ea6d3 Create root-dir when it does not exists, fix #35. 2014-08-29 23:19:01 +02:00
Dimitri Fontaine
7065d263f5 Cleanup. 2014-08-28 13:43:01 +02:00
Dimitri Fontaine
5213456b8f Update SQLite examples in the docs.
We were still using the old "drop tables" syntax...
2014-08-28 10:44:40 +02:00
Dimitri Fontaine
69587b1504 Merge pull request #110 from westonplatter/master
change README wording related to v1, v2, v3
2014-08-27 08:51:28 +02:00
Weston Platter
1c06864452 change README wording related to v1, v2, v3 2014-08-26 13:50:05 -06:00
Dimitri Fontaine
a8bf541568 Merge pull request #108 from lynxis/master
sqlite: convert clob -> text
2014-08-22 21:21:31 +02:00
Alexander Couzens
b8807f52b1 sqlite: convert clob -> text 2014-08-22 20:44:49 +02:00
Dimitri Fontaine
0edb5629b4 Prevent RPM systems from prelinking /usr/bin/pgloader, fix #103. 2014-08-18 11:06:41 +02:00
Dimitri Fontaine
aad272769f Implement MySQL table names filtering in SQL, fix #105.
This allows returning only selected table names as early as possible
rather than post-filtering a possibly large result list.
2014-08-16 16:43:52 +02:00
Dimitri Fontaine
feee770422 Clarify --self-upgrade non-persistent behavior in the README. 2014-08-15 19:56:53 +02:00
Dimitri Fontaine
5d67b0e3a1 TODO: support for tarballs and .gz files has been added in b4ec0ec. 2014-08-11 18:48:13 +02:00
Dimitri Fontaine
2b217a5f8f Merge pull request #104 from nigelzor/fix-quoted-identifiers
Check for reserved keyword after downcasing
2014-08-09 23:20:39 +02:00
Neil Gentleman
16d3edf5be check for reserved keyword after downcasing
uppercase USER isn't reserved, but lowercase is
2014-08-08 18:25:06 -07:00
Dimitri Fontaine
b4ec0ec52f Implement support for gzip and tarball archives format, see #80. 2014-08-06 22:53:51 +02:00
Dimitri Fontaine
68dc8e07b4 When given --summary, refrain from writing to the terminal, fixing #102. 2014-08-03 22:56:24 +02:00
Dimitri Fontaine
1179f449dc Remove outdated comments about the reader and writer batches... 2014-08-03 19:49:10 +02:00
Dimitri Fontaine
624077bb95 Count bytes only once when under memory watch. 2014-08-03 19:48:49 +02:00
Dimitri Fontaine
ca52ddacb1 SQLite: transform "0" timestamps to NULL, see #100. 2014-07-30 18:42:49 +02:00
Dimitri Fontaine
ed8022ce64 SQLite: transform default values to their PostgreSQL representation.
When default values are used in SQLite they are of course using their
SQLite representation, which might not be compatible with the PostgreSQL
target data type we're casting to. Make it so that the default values
are transformed too, as we already do in the MySQL case.

See #100.
2014-07-30 16:32:35 +02:00
Dimitri Fontaine
a621a48c04 Fix including/excluding options parsing for SQLite, fix #99 (again). 2014-07-27 14:13:54 +02:00
Dimitri Fontaine
79f622234f Allow specifying the SQLite text encoding, fix #99. 2014-07-25 19:01:15 +02:00
Dimitri Fontaine
43fd3ba6ff In passing docs formating fix. 2014-07-25 18:59:45 +02:00
Dimitri Fontaine
b538539fb3 Handle errors when processing data from SQLite.
Some errors could be related to encoding issues, as in #99.
2014-07-25 18:40:46 +02:00
Dimitri Fontaine
de910321ff Commit the formated manpage, see #98. 2014-07-24 19:05:01 +02:00