dimitri/pgloader — pull request #18 by Sectoid (2013-12-18 00:06:35+00:00)
Title: Fixing "quote identifiers" option for MySQL conversions

This patch solves multiple bugs of migration MySQL to PostgreSQL with 'quote identifiers' mode on.

The only bug remaining (i didn't find non-dirty way to fix it) is wrong name of enum type. The enum itself is defined in PostgreSQL correctly quoted but it's referenced without quoting in table definition statement. These leads to error from PostgreSQL. But as i mentioned above i found no way to pass 'identifier-case' to mapping rules correctly. Maybe you can hint me with an idea - then i'll fix even this.

Anyway, looking forward for any feedback/comments.

Signed-off-by: Gleb Golubitsky