Commit Graph

18 Commits

Author SHA1 Message Date
Dimitri Fontaine
20d7858e27 Implement SQLite casting rule for “decimal”.
Fix #739.
2018-02-07 20:47:47 +01:00
Dimitri Fontaine
6ae3bd1862 Docs cleanup.
Don't maintain generated files in git, it's useless (thanks mainly to
readthedocs), also remove the previous format of the docs.
2018-01-24 22:47:37 +01:00
Dimitri Fontaine
f86371970f Review the pgloader COPY implementation further.
Refactor file organisation further to allow for adding a “direct stream”
option when the on-error-stop behavior has been selected. This happens
currently by default for databases sources.

Introduce the new WITH option “on error resume next” which forces the
classic behavior of pgloader. The option “on error stop” already existed,
its implementation is new.

When this new behavior is activated, the data is sent to PostgreSQL
directly, without intermediate batches being built. It means that the whole
operation fails at the first error, and we don't have any information in
memory to try replaying any COPY of the data. It's gone.

This behavior should be fine for database migrations as you don't usually
want to fix the data manually in intermediate files, you want to fix the
problem at the source database and do the whole dance all-over again, up
until your casting rules are perfect.

This patch might also incurr some performance benenits in terms of both
timing and memory usage, though the local testing didn't show much of
anything for the moment.
2018-01-24 22:45:23 +01:00
Julien Danjou
bb6c3d0a32 doc: fix a few link format (#711)
They are still in Markdown format, remove or move to rst.
2018-01-09 19:22:21 +01:00
Dimitri Fontaine
81be9ae60e Implement support for \' as the CSV separator.
The option "fields optionally enclosed by" was missing a way to easily
specify a single quote as the quoting character. Add '\'' to the existing
solution '0x27' which isn't as friendly.

See #705.
2017-12-26 21:04:06 +01:00
Dimitri Fontaine
25c79dfebc Switch the documentation to using Sphinx.
The website is moving to pgloader.org and readthedocs.io is going to be
integrated. Let's see what happens. The docs build fine locally with the
sphinx tools and the docs/Makefile.

Having separate files for the documentation should help ease the maintenance
and add new topics, such as support for Common Lisp Hackers level docs,
which are currently missing.
2017-12-21 17:45:09 +01:00
Dimitri Fontaine
21f8baabab Update CNAME 2017-12-21 17:21:19 +01:00
Dimitri Fontaine
501762d2f5 Update the website with the new Gumroad id. 2017-11-01 16:38:54 +01:00
Dimitri Fontaine
370038a74e Fix the PostgreSQL URL in the MySQL howto.
See #599 again, wherein I missed that the URL error was not a copy-paste'o
but rather an error in the documentation itself…
2017-08-10 21:49:51 +02:00
Dimitri Fontaine
073a5c1e37 Fix Ergast link in MySQL howto.
See #599.
2017-08-10 20:58:24 +02:00
Dimitri Fontaine
154c74f85e Update online docs with new release.
The docs/ directory goes to http://pgloader.io.
2017-07-06 17:07:55 +02:00
Dimitri Fontaine
a222a82f66 Improve docs on pgloader.io.
In the SQLite and MySQL cases, expand on the simple case before detailing
the command language. With our solid defaults, most times a single command
line with the source and target connection strings are going to be all you
need.
2017-06-20 16:24:25 +02:00
Dimitri Fontaine
45719645da Implement GumRoad payment for the Moral License.
Let's make it easy for interested parties to actually buy a license, and
offer several levels of “partnership” with the project. Be a Sponsor, a
Partner or even consider having pgloader custom development made for you.
Oracle™ support anyone?
2017-05-31 15:27:06 +02:00
Dimitri Fontaine
17536e84a4 Create CNAME 2017-01-06 21:37:59 +01:00
Dimitri Fontaine
e5c8b8d159 Fix Advanced Howto for Geolite.
The example was still using a very old syntax for per-field options, and
even the current debian package doesn't support this syntax anymore...
Update the docs to use current syntax.

Fix #475.
2016-11-13 21:54:09 +01:00
Dimitri Fontaine
4a431498ca Typo fix... 2016-10-02 20:09:55 +02:00
Dimitri Fontaine
ac91ea97d0 Add iwoca as a sponsor to pgloader.
Thanks guys ;-)
2016-10-02 16:28:43 +02:00
Dimitri Fontaine
9e574ce884 Rename web/ into docs/
This allows to benefit from github pages without having to maintain a
separate orphaned branch.
2016-08-19 20:55:29 +02:00