pgloader/test
Dimitri Fontaine a8b0f91f37 Allow optional control of batch memory footprint, see #16 and #22.
With the new internal setting *copy-batch-size* it's now possible to
instruct pgloader to close batches early (before *copy-batch-rows* limit)
when crossing the byte count threshold.

When set to 20 MB it allows the new test case (exhausted) to pass under SBCL
and CCL, and there's no measurable cost when *copy-batch-size* is set to
nil (its default value) in the testing done.

This patch is published without any way to tune the values from the command
language yet, that's the next step once its been proven effective.
2014-01-26 23:22:18 +01:00
..
data Allow optional control of batch memory footprint, see #16 and #22. 2014-01-26 23:22:18 +01:00
parse Fix #24 by allowing cast rules adding only transformation functions. 2014-01-20 16:00:09 +01:00
sqlite Desultory improve the SQLite importer. 2013-11-21 21:34:02 +01:00
allcols.load Improve database connection parsing to use sensible defaults. 2013-10-19 22:39:09 +02:00
archive.load Improve tests and add test cases. 2013-11-26 16:48:45 +01:00
bossa-all.load Improve tests and add test cases. 2013-11-26 16:48:45 +01:00
bossa.load Improve tests and add test cases. 2013-11-26 16:48:45 +01:00
bossa.sql Improve tests and add test cases. 2013-11-26 16:48:45 +01:00
census-places.load Pick a CL encoding name found both in SBCL and CCL for the census test. 2013-12-24 19:37:15 +01:00
csv-before-after.load Improve database connection parsing to use sensible defaults. 2013-10-19 22:39:09 +02:00
csv-districts.load Bug fix when processing plain filenames. 2014-01-22 11:00:12 +01:00
csv-keep-extra-blanks.load Switch to the newer cl-csv API. 2014-01-11 18:28:24 +01:00
csv-trim-extra-blanks.load Switch to the newer cl-csv API. 2014-01-11 18:28:24 +01:00
csv.load Improve database connection parsing to use sensible defaults. 2013-10-19 22:39:09 +02:00
dbf-zip.load Improve database connection parsing to use sensible defaults. 2013-10-19 22:39:09 +02:00
dbf.load Improve tests and add test cases. 2013-11-26 16:48:45 +01:00
errors.load Skip empty lines when reading from files. 2014-01-24 15:11:15 +01:00
fixed.load Implement support for FIXED COLS input files, reaching release candidate status. 2013-11-07 15:39:28 +01:00
Makefile Add MySQL (MariaDB) support in tests. 2013-12-03 22:06:10 +01:00
nofile.load Improve tests and add test cases. 2013-11-26 16:48:45 +01:00
partial.load Improve database connection parsing to use sensible defaults. 2013-10-19 22:39:09 +02:00
README.md Port tests from pgloader 2.x, implement trailing-sep. 2013-10-13 22:10:07 +02:00
reformat.load Improve database connection parsing to use sensible defaults. 2013-10-19 22:39:09 +02:00
sakila.load Add support for connecting to PostgreSQL with Unix Domain Sockets, fixing #15. 2013-11-22 17:19:48 +01:00
serial.load Improve database connection parsing to use sensible defaults. 2013-10-19 22:39:09 +02:00
simple.load Improve database connection parsing to use sensible defaults. 2013-10-19 22:39:09 +02:00
sqlite.load Desultory improve the SQLite importer. 2013-11-21 21:34:02 +01:00
udc.load Improve parsing of list separating commas wrt to whitespacing. 2013-11-23 21:49:08 +01:00
xzero.load Improve database connection parsing to use sensible defaults. 2013-10-19 22:39:09 +02:00

pgloader tests

In the parser directory are tests for the parser only, in the current directory are tests that can be run to import data.