pg_log_userqueries
Module to log user queries
pg_log_userqueries · Module to log user queries
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 101575 | pg_log_userqueries | pg_log_userqueries | 1.0.0 | STAT | PostgreSQL | C |
Usage
Sources:
pg_log_userqueries — pg_log_userqueries is a PostgreSQL module that logs each query executed by a superuser. It records each query in the standard log file. Use it when collecting or interpreting the corresponding PostgreSQL statistics. Use the pinned upstream revision linked above as the API boundary and test it on the target PostgreSQL build.
Core Workflow
The reviewed distribution uses a legacy SQL or non-control installation layout, so it does not establish a modern standalone CREATE EXTENSION and upgrade workflow. Follow the pinned upstream installation mechanism and verify the installed objects in an isolated database.
Requirements and Caveats
- The catalog records version
1.0.0. - Confirm privileges, supported PostgreSQL versions, upgrade behavior, and failure cases against the pinned source before production use.