Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
majst01 committed Aug 21, 2023
1 parent ab7594a commit f88ec6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/internal/database/postgres/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func (db *Postgres) Upgrade() error {
return fmt.Errorf("database is newer than postgres binary")
}

oldPostgresBindir := fmt.Sprintf("pg-bin-v%d", pgVersion)
oldPostgresBindir := path.Join(db.datadir, fmt.Sprintf("pg-bin-v%d", pgVersion))

// Check if old pg_config are present and match pgVersion
oldPostgresConfigCmd := path.Join(oldPostgresBindir, postgresConfigCmd)
Expand Down

0 comments on commit f88ec6e

Please sign in to comment.