pg_create_restore_point ( name text ) → pg_lsnCreates a named marker record in the write-ahead log that can later be used as a recovery target, and returns the corresponding write-ahead log location. The given name can then be used with recovery_target_name to specify the point up to which recovery will proceed. Avoid creating multiple restore points with the same name, since recovery will stop at the first one whose name matches the recovery target.
Functions / System Administration Functions
pg_create_restore_point
Read the PG 18 manualCreates a named marker record in the write-ahead log that can later be used as a recovery target, and returns the corresponding write-ahead log location.
Reading PG 18current·documented in 17 of 27 versions, 9.1 to 20
Signatures & examples
Definition snapshot: b7bd9cda · English manual source