We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 364630e commit c13f7c5Copy full SHA for c13f7c5
files/backup.py
@@ -214,7 +214,7 @@ def finalize_backup(backup_path):
214
if state.pg_major_version < 15:
215
stop_backup_sql = "SELECT * FROM pg_stop_backup(false, true)"
216
else:
217
- stop_backup_sql = "SELECT * FROM pg_packup_stop(true)"
+ stop_backup_sql = "SELECT * FROM pg_backup_stop(true)"
218
state.cursor.execute(stop_backup_sql)
219
row = state.cursor.fetchone()
220
last_segment = row[0]
0 commit comments