Skip to content

pg_restore_points

Create, catalog, list, and remove named PostgreSQL restore points.

pg_restore_points · Create, catalog, list, and remove named PostgreSQL restore points.

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
101925pg_restore_pointspg_restore_points1.0ADMINSQL

Usage

Sources:

pg_restore_points Create, catalog, list, and remove named PostgreSQL restore points.

Enablement

Install the files for the intended server, then create pg_restore_points in the target database:

CREATE EXTENSION pg_restore_points;

Core Workflow

The following example is taken from the reviewed upstream documentation. Adapt object names, paths, credentials, and workload values before use.

SELECT pg_purge_restore_points('interval_value');

Main Objects

The reviewed install surface includes these prominent objects:

ObjectKindOperational role
restore_pointsTABLEExtension-owned table; account for its data in backup and upgrades.
pg_extend_create_restore_pointFUNCTIONCallable function from the reviewed install surface.
pg_purge_restore_pointsFUNCTIONCallable function from the reviewed install surface.
restore_point_modeTYPEUser-facing data type created by the extension.

Operations and Boundaries

  • Treat extension upgrades as database changes: review the upstream upgrade path, privileges, locks, and backup/restore behavior first.

Table reader