Contents
pg_stop_backup()
A system function for marking an on-line backup as completed
This entry relates to a PostgreSQL feature which is deprecated and may be desupported in future releases.
pg_stop_backup()
is a system function for marking a exclusive or non-exclusive on-line backup as completed.
pg_stop_backup()
was introduced in PostgreSQL 8.0 and replaced in PostgreSQL 15 by pg_backup_stop()
.
Usage
pg_stop_backup (exclusive
boolean
[,wait_for_archive
boolean
] ) →
setof record (lsn
pg_lsn
,labelfile
text
,spcmapfile
text
)
Change history
- PostgreSQL 15
- replaced by
pg_backup_stop()
(commit 39969e2a)
- replaced by
- PostgreSQL 10
- option
wait_for_archive boolean
added (commit 017e4f25)
- option
- PostgreSQL 9.6
- option
providing support for non-exclusive backups added (commit 71176854)exclusive
boolean
- option
- PostgreSQL 9.4
- PostgreSQL 8.0
- added (commit 58c41712)
References
- PostgreSQL documentation: Backup Control Functions