+2
-2
lines changedFilter options
+2
-2
lines changed Original file line number Diff line number Diff line change
@@ -396,7 +396,7 @@ func (d *dump) dump() error {
396
396
formatOpt := fmt.Sprintf("-F%c", d.Options.Format)
397
397
398
398
command := filepath.Join(binDir, "pg_dump")
399
-
args := []string{formatOpt, "-f", file}
399
+
args := []string{formatOpt, "-f", file, "-w"}
400
400
401
401
if fileEnd == "d" && d.Options.Jobs > 1 {
402
402
args = append(args, "-j", fmt.Sprintf("%d", d.Options.Jobs))
@@ -546,7 +546,7 @@ func pgDumpVersion() int {
546
546
547
547
func dumpGlobals(dir string, timeFormat string, conninfo *ConnInfo) error {
548
548
command := filepath.Join(binDir, "pg_dumpall")
549
-
args := []string{"-g"}
549
+
args := []string{"-g", "-w"}
550
550
551
551
// pg_dumpall only connects to another database if it is given
552
552
// with the -l option
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4