Skip to content

pg_parapet

Hooks that can require WHERE on UPDATE and DELETE and restrict TRUNCATE to superusers.

pg_parapet · Hooks that can require WHERE on UPDATE and DELETE and restrict TRUNCATE to superusers.

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
101593pg_parapetpg_parapet0.0.0ADMINUnknownRust

Usage

Sources:

pg_parapet — Ce dépot contient une série d’extensions PostgreSQL developpées avec PGRX. Use it when administering or automating the database behavior described above. Use the pinned upstream revision linked above as the API boundary and test it on the target PostgreSQL build.

Core Workflow

CREATE EXTENSION pg_parapet;

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.

Requirements and Caveats

  • The catalog records version 0.0.0.
  • The control file marks the extension as non-relocatable.
  • The control file requires a superuser for installation.
  • Confirm privileges, supported PostgreSQL versions, upgrade behavior, and failure cases against the pinned source before production use.

Table reader