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 PG 18 manual ↗Creates 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.
Signatures & examples
Version history 4
- PG 12 → 13changed
- PG 9.5 → 9.6changed
- PG 9.3 → 9.4changed
- PG 9.0 → 9.1added
Definition snapshot: 2026-09-14T13:14:25.684213+00:00@99e6866c · English manual source