mirror of
https://github.com/dimitri/pgloader.git
synced 2026-05-04 10:31:02 +02:00
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:
parent
52f4180ccd
commit
d4b58a1f78
@ -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
|
||||
|
||||
@ -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'
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user