select open change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Extensions / Security

pg_policy

Agentic policy language for PostgreSQL with guardrails, guidance, and session-aware controls

pgext.cloud · Source code · Documentation · License text · Control file · PGXN

Overview

Packagepg_policy
Version0.1.0
PostgreSQL versions14 · 15 · 16 · 17 · 18
RepositoryPIGSTY
Extension typeSQL only
Project statusActive
Requires CREATE EXTENSIONYes
Requires preloadNo
TrustedNo
RelocatableNo
Schemapolicy
Stars0
Latest commit2026-08-30
Latest release2026-08-11
Catalogue updated2026-08-30

Related extensions

See also

pg_command_fwDDL and utility command firewall for PostgreSQL
pgextwlistPostgreSQL Extension Whitelisting
set_usersimilar to SET ROLE but with added logging
nosetModule for blocking SET variables for non-super users.
block_copy_commandBlock COPY commands via a configurable ProcessUtility hook
supautilsExtension that secures a cluster on a cloud environment
anonPostgreSQL Anonymizer (anon) extension
pgauditprovides auditing functionality