We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6738b08 commit 673f3e3Copy full SHA for 673f3e3
pkg/retrieval/engine/postgres/logical/dump.go
@@ -588,6 +588,10 @@ func (d *DumpJob) getExecEnvironmentVariables() []string {
588
execEnvs = append(execEnvs, "PGPASSWORD="+d.config.db.Password)
589
}
590
591
+ // Set unlimited statement_timeout for the dump session
592
+ // because there is a risk of dump failure due to exceeding the statement_timeout.
593
+ execEnvs = append(execEnvs, "PGOPTIONS=-c statement_timeout=0")
594
+
595
return execEnvs
596
597
0 commit comments