pg_backup_stop ( [wait_for_archive boolean ] ) → record ( lsn pg_lsn, labelfile text, spcmapfile text )Finishes performing an on-line backup. The desired contents of the backup label file and the tablespace map file are returned as part of the result of the function and must be written to files in the backup area. These files must not be written to the live data directory (doing so will cause PostgreSQL to fail to restart in the event of a crash).
Functions / System Administration Functions
pg_backup_stop
Read the PG 18 manualFinishes performing an on-line backup.
Reading PG 18current·documented in 6 of 27 versions, 15 to 20
Signatures & examples
Version history 1
- 14 → 15 added
Definition snapshot: b7bd9cda · English manual source