Skip to content

Commit

Permalink
Use self.pgbin for "psql" command
Browse files Browse the repository at this point in the history
  • Loading branch information
egor-voynov-aiven committed Mar 6, 2025
1 parent ea547bf commit 0d8cc64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiven_db_migrate/migrate/pgmigrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -1241,7 +1241,7 @@ def _decode_output_line(line: bytes):

def _pg_dump_pipe_psql(self, *, pg_dump_cmd: Sequence[str], target_conn_str: str) -> PGSubTask:
psql_cmd = [
"psql",
str(self.pgbin / "psql"),
"--no-psqlrc",
"--echo-all" if self.verbose else "--echo-errors",
# "--variable=ON_ERROR_STOP=1",
Expand Down

0 comments on commit 0d8cc64

Please sign in to comment.