pg_stop_backup()

A system function for marking an on-line backup as completed

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.

Usage

pg_stop_backup ( exclusive boolean [, wait_for_archive boolean ] ) →
        setof record ( lsn pg_lsn, labelfile text, spcmapfile text )

Change history

Categories

Backup, Replication, System function

See also

pg_start_backup(), Backup history file, backup_label, tablespace_map