lib/pgsync/client.rb in pgsync-0.5.4 vs lib/pgsync/client.rb in pgsync-0.5.5

- old
+ new

@@ -41,10 +41,11 @@ Options:} o.string "-d", "--db", "database" o.string "-t", "--tables", "tables to sync" o.string "-g", "--groups", "groups to sync" + o.integer "-j", "--jobs", "number of tables to sync at a time" o.string "--schemas", "schemas to sync" o.string "--from", "source" o.string "--to", "destination" o.string "--where", "where", help: false o.integer "--limit", "limit", help: false @@ -66,9 +67,12 @@ o.boolean "--setup", "setup", default: false, help: false o.boolean "--in-batches", "in batches", default: false, help: false o.integer "--batch-size", "batch size", default: 10000, help: false o.float "--sleep", "sleep", default: 0, help: false o.boolean "--fail-fast", "stop on the first failed table", default: false + o.boolean "--defer-constraints", "defer constraints", default: false + o.boolean "--disable-user-triggers", "disable non-system triggers", default: false + o.boolean "--disable-integrity", "disable foreign key triggers", default: false # o.array "--var", "pass a variable" o.boolean "-v", "--version", "print the version" o.boolean "-h", "--help", "prints help" end rescue Slop::Error => e