Skip to content

Commit

Permalink
This is what happens when you make changes after testing
Browse files Browse the repository at this point in the history
  • Loading branch information
natefoo committed Apr 29, 2024
1 parent 364630e commit c13f7c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def finalize_backup(backup_path):
if state.pg_major_version < 15:
stop_backup_sql = "SELECT * FROM pg_stop_backup(false, true)"
else:
stop_backup_sql = "SELECT * FROM pg_packup_stop(true)"
stop_backup_sql = "SELECT * FROM pg_backup_stop(true)"
state.cursor.execute(stop_backup_sql)
row = state.cursor.fetchone()
last_segment = row[0]
Expand Down

0 comments on commit c13f7c5

Please sign in to comment.