Skip to content

pg_wal_recovery

pg recovery is an educational PostgreSQL extension for database recovery

pg_wal_recovery · pg recovery is an educational PostgreSQL extension for database recovery

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
101647pg_wal_recoverypg_wal_recovery1.0ADMINMITC

Usage

Sources:

pg_wal_recovery — pg_wal_recovery is an educational PostgreSQL extension for database recovery, focusing on restoring databases from Write-Ahead Logs (WAL) and supporting point-in-time recovery. Check my post on it here. Use it when administering or automating the database behavior described above. Upstream describes it as a work in progress.

Core Workflow

CREATE EXTENSION pg_wal_recovery;

Install the extension in the intended database, run the smallest upstream example above when available, and verify the installed version and returned values before integrating it into application SQL.

Important Objects

  • wal_list_records is an extension function.

Requirements and Caveats

  • The reviewed control file declares default version 1.0.
  • The control file marks the extension as relocatable.
  • Upstream describes the project as a work in progress.
  • Confirm privileges, supported PostgreSQL versions, upgrade behavior, and failure cases against the pinned source before production use.

Table reader