Skip to content

Commit

Permalink
accept commas for exclude_dbs
Browse files Browse the repository at this point in the history
  • Loading branch information
pchovelon authored and orgrim committed Dec 26, 2023
1 parent 0d81808 commit be759c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@ func loadConfigurationFile(path string) (options, error) {
o.Schemas = parseIdentifierList(s.Key("schemas").String())
o.ExcludedSchemas = parseIdentifierList(s.Key("exclude_schemas").String())
o.Tables = parseIdentifierList(s.Key("tables").String())
o.ExcludedTables = parseIdentifierList(s.Key("exclude_tables").String())
o.ExcludedTables = s.Key("exclude_tables").Strings(",")

if s.HasKey("pg_dump_options") {
words, err := shlex.Split(s.Key("pg_dump_options").String(), true)
Expand Down

0 comments on commit be759c4

Please sign in to comment.