pgloader/test
Dimitri Fontaine c724018840 Implement ALTER TABLE clause for MySQL migrations.
The new ALTER TABLE facility allows to act on tables found in the MySQL
database before the migration happens. In this patch the only provided
actions are RENAME TO and SET SCHEMA, which fixes #224.

In order to be able to provide the same option for MS SQL users, we will
have to make it work at the SCHEMA level (ALTER SCHEMA ... RENAME TO
...) and modify the internal schema-struct so that the schema slot of
our table instances are a schema instance rather than its name.

Lacking MS SQL test database and instance, the facility is not yet
provided for that source type.
2016-03-06 21:51:33 +01:00
..
data Implement support for PostgreSQL COPY format, fix #145. 2015-01-02 18:49:17 +01:00
parse Allow package prefix in CAST ... USING clause. 2016-02-04 16:09:22 +01:00
regress Review transaction and error handling in COPY. 2016-02-21 15:56:06 +01:00
sqlite Also commit SQLite test case changes. 2016-03-03 14:59:57 +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 Implement concurrency and workers for files sources. 2016-01-16 22:53:55 +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-missing-col.load Review transaction and error handling in COPY. 2016-02-21 15:56:06 +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 Review transaction and error handling in COPY. 2016-02-21 15:56:06 +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 Another attempt at fixing #323. 2016-01-17 01:54:36 +01: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 Implement ALTER TABLE clause for MySQL migrations. 2016-03-06 21:51:33 +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-base64.load Review SQLite blob types in light of "manifest typing", fix #60. 2014-05-16 23:13:57 +02:00
sqlite-chinook.load Expose concurrency settings to the end users. 2016-01-15 23:22:32 +01:00
sqlite.load Add SQLite test case for before/after load commands. 2015-12-23 21:58:56 +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.