Dimitri Fontaine 4931604361 Allow ALTER SCHEMA command for MySQL.
This pgloader command allows to migrate tables while changing the schema
they are found into in between their MySQL source database and their
PostgreSQL target database.

This changes the default behavior of pgloader with MySQL from always
targetting the 'public' schema to targetting by default a schema named
the same as the MySQL database. You can revert to the old behavior by
adding a rule:

   ALTER SCHEMA 'dbname' RENAME TO 'public

We might want to add a patch to re-install the default behavior later.

Also see #489 where it used not to be possible to rename the schema at
migration time, causing strange errors (you need to spot NIL as the
schema name in the "failed to find target table" messages.
2016-12-18 19:31:21 +01:00
..
2016-08-28 20:29:30 +02:00
2013-11-26 16:48:45 +01:00
2013-11-26 16:48:45 +01:00
2014-06-03 12:19:23 +02:00
2016-01-17 01:54:36 +01: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.