Skip to content

pg_mask

A tiny data mask utility written in C

pg_mask · A tiny data mask utility written in C

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
101578pg_maskpg_mask1.0.0SECMITC

Usage

Sources:

pg_mask — This project is being developed with C language using C-Language Functions of PostgreSQL, that is also provide an extension makefile that manages library directories and installation targets. In order to include PostgreSQL extension makefile, the binary must be available. Use it when implementing the corresponding security, audit, or access-control workflow. Use the pinned upstream revision linked above as the API boundary and test it on the target PostgreSQL build.

Core Workflow

CREATE EXTENSION pg_mask;

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

  • pg_mask() is an extension function and returns text.

Requirements and Caveats

  • The reviewed control file declares default version 1.0.0.
  • The control file marks the extension as non-relocatable.
  • The control file does not require superuser-only installation.
  • Confirm privileges, supported PostgreSQL versions, upgrade behavior, and failure cases against the pinned source before production use.

Table reader