Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
majst01 committed Aug 20, 2023
1 parent 230d69e commit 3b4f0d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/internal/database/postgres/postgres.go
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ func (db *Postgres) Upgrade() error {
cmd = exec.Command(postgresUpgradeCmd, "--old-datadir", db.datadir, "--new-datadir", newDataDirTemp, "--old-bindir", oldPostgresBinDir, "--new-bindir", "/usr/local/bin", "--link") //nolint:gosec
out, err = cmd.CombinedOutput()
if err != nil {
db.log.Infow("unable to run pg_upgrade on new new datadir, abort upgrade", "error", err)
db.log.Infow("unable to run pg_upgrade on new new datadir, abort upgrade", "output", out, "error", err)
return nil
}
db.log.Infow("pg_ugrade done", "output", string(out))
Expand Down

0 comments on commit 3b4f0d8

Please sign in to comment.