pgloader/test
Dimitri Fontaine b4bfa18877 Fix more table name quoting, fix #163 again.
Now that we can have several threads doing COPY, each of them need to
know about the *pgsql-reserved-keywords* list. Make sure that's the case
and in passing fix some call sites to apply-identifier-case.

Also, more disturbingly, fix the code so that TRUNCATE is called from
the main thread before giving control to the COPY threads, rather than
having two concurrent threads doing the TRUNCATE twice. It's rather
strange that we got no complaint from the field on that part...
2015-12-08 11:52:43 +01:00
..
data Implement support for PostgreSQL COPY format, fix #145. 2015-01-02 18:49:17 +01:00
parse Add a local test, per #271. 2015-08-24 16:42:39 +02:00
regress Improve our regression testing facility. 2015-11-17 17:03:08 +01:00
sqlite Add a SQLite test case from #310. 2015-11-22 22:16:05 +01:00
allcols.load Improve database connection parsing to use sensible defaults. 2013-10-19 22:39:09 +02:00
archive.load Review the stats and reporting code organisation. 2015-10-05 01:46:29 +02:00
bossa-all.load Improve tests and add test cases. 2013-11-26 16:48:45 +01:00
bossa.load Update the bossa.load test case. 2014-04-29 14:51:14 +02:00
bossa.sql Improve tests and add test cases. 2013-11-26 16:48:45 +01:00
census-places.load Fix census-places URL location of the source file. 2015-04-17 21:58:19 +02:00
copy-hex.load Implement more COPY options, fix #218. 2015-04-30 14:30:16 +02:00
copy.load Fix index creation reporting, see #251. 2015-07-18 23:06:15 +02:00
csv-before-after.load Fix quoting of TRUNCATE command, fix #84. 2014-06-20 13:10:39 +02:00
csv-districts-stdin.load Fix loading data from stdin: fix #53. 2014-04-27 23:38:02 +02:00
csv-districts.load Implement the option to disable triggers when loading data. 2015-02-19 15:05:10 +01:00
csv-error.load Fix issue #49 where data could be considered as a format string. 2014-04-23 17:03:35 +02:00
csv-escape-mode.load Add test coverage for #80. 2015-06-25 14:16:12 +02:00
csv-filename-pattern.load Add support for postgres:// URI prefixes, fix #135. 2014-12-15 20:32:49 +01:00
csv-header.load Fix more table name quoting, fix #163 again. 2015-12-08 11:52:43 +01:00
csv-hstore.load Catch PostgreSQL internal errors too, fixes #155. 2015-01-21 13:01:28 +01:00
csv-json.load Allow for more options in the CSV escape character, fix #38. 2015-05-22 12:31:06 +02:00
csv-keep-extra-blanks.load Switch to the newer cl-csv API. 2014-01-11 18:28:24 +01:00
csv-newline.load Implement new CSV option "lines terminated by", fixes #23. 2014-02-04 20:58:46 +01:00
csv-non-printable.load Left pad COPY octal chars with 0, fix #275. 2015-08-20 18:17:18 +02:00
csv-nulls.load Square brackets around source field options are now mandatory. 2014-10-02 01:17:24 +02:00
csv-parse-date.load Improve CSV date format, fix #293. 2015-09-12 00:35:14 +02:00
csv-temp.load Improve user code parsing, fix #297. 2015-09-21 13:23:21 +02:00
csv-trim-extra-blanks.load Switch to the newer cl-csv API. 2014-01-11 18:28:24 +01:00
csv.load Handle camelCase column names for CSV, fix #79 again. 2014-06-16 17:33:14 +02:00
dbf-zip.load Improve database connection parsing to use sensible defaults. 2013-10-19 22:39:09 +02:00
dbf.load Fix schema qualified table names usage (more). 2015-09-04 01:06:15 +02:00
errors.load Travis: adapt to PostgreSQL 9.1, again. 2015-11-23 22:09:08 +01:00
fields-with-periods.load Accept periods in CSV field names 2015-05-15 07:22:07 -07:00
fixed.load Implement drop indexes option for copy and fixed. 2015-07-16 21:39:06 +02:00
geolite.sql Implement BEFORE/AFTER LOAD EXECUTE 'filename'. 2014-05-04 23:04:45 +02:00
ixf.load Implement a TimeZone option for IXF loading. 2015-10-05 16:46:15 +02:00
Makefile Improve our regression testing facility. 2015-11-17 17:03:08 +01:00
nofile.load Improve tests and add test cases. 2013-11-26 16:48:45 +01:00
overflow.load Add automated regression tests. 2014-06-03 12:19:23 +02:00
partial.load Fix index creation reporting, see #251. 2015-07-18 23:06:15 +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 Review MySQL default options. 2014-09-21 12:19:20 -05: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-base64.load Review SQLite blob types in light of "manifest typing", fix #60. 2014-05-16 23:13:57 +02:00
sqlite-chinook.load Improve SQLite table names filtering. 2015-11-22 22:10:26 +01:00
sqlite.load Add a SQLite test case from #310. 2015-11-22 22:16:05 +01:00
udc.load Improve parsing of list separating commas wrt to whitespacing. 2013-11-23 21:49:08 +01:00
xzero.load Square brackets around source field options are now mandatory. 2014-10-02 01:17:24 +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.