Review MySQL default options.

The default values for MySQL WITH clause options wasn't really tested
and broke on simple cases, the new set of defaults is known to work in
many cases (most?).

Other combinations of options will need some review work, and we might
need to consider preventing some of them, that's for another patch tho.
This commit is contained in:
Dimitri Fontaine 2014-09-21 12:19:20 -05:00
parent 52f4180ccd
commit d4b58a1f78
2 changed files with 10 additions and 10 deletions

View File

@ -306,14 +306,14 @@
state-before
state-after
state-indexes
truncate
data-only
schema-only
create-tables
include-drop
create-indexes
reset-sequences
foreign-keys
(truncate nil)
(data-only nil)
(schema-only nil)
(create-tables t)
(include-drop t)
(create-indexes t)
(reset-sequences t)
(foreign-keys t)
(identifier-case :downcase) ; or :quote
only-tables
including

View File

@ -2,8 +2,8 @@ load database
from mysql://root@localhost/sakila
into postgresql:///sakila
WITH include drop, create tables, no truncate,
create indexes, reset sequences, foreign keys
-- WITH include drop, create tables, no truncate,
-- create indexes, reset sequences, foreign keys
SET maintenance_work_mem to '128MB', work_mem to '12MB', search_path to 'sakila'