select open change scope Open full search

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

Extensions / Administration

pg_query_rewrite

Rewrite SQL statements with a PostgreSQL ProcessUtility hook

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

Overview

Packagepg_query_rewrite
Version0.0.5
PostgreSQL versions14 · 15 · 16 · 17 · 18
RepositoryPIGSTY
Extension typePreloaded
Requires CREATE EXTENSIONYes
Requires preloadYes
TrustedNo
RelocatableNo
Shared librariespg_query_rewrite
Stars24
Latest commit2025-09-25
Catalogue updated2026-08-30

Related extensions

See also

pg_fsqlRecursive SQL template engine with JSONB-driven execution
ddlxDDL eXtractor functions
pg_readmeGenerate a Markdown README from PostgreSQL COMMENT objects
pglinterPostgreSQL Linting and Analysis Extension
omni_sqlProgrammatic SQL manipulation
pg_variablesSession-scoped variables with scalar, array, and record types
pre_preparePre Prepare your Statement server side
plan_filterfilter statements by their execution plans.
pg_hint_planGive PostgreSQL ability to manually force some decisions in execution plans.
pgddIntrospect pg data dictionary via standard SQL