select open change scope Open full search

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

Extensions / Monitoring

pg_sampletolog

Samples statements or whole transactions into PostgreSQL logs through executor and utility hooks.

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

Overview

Packagepg_sampletolog
Version2.0.0
PostgreSQL versions10 · 11
RepositoryUnspecified
Extension typeNo DDL
Requires CREATE EXTENSIONNo
Requires preloadYes
TrustedNo
RelocatableNo
Shared librariespg_sampletolog
Stars18
Latest commit2019-07-08
Latest release2019-06-11
Catalogue updated2026-08-30

Related extensions

See also

pgmementoTransaction-based audit trail with schema versioning
pg_turretCapture PostgreSQL logs and export structured events to HTTP, Kafka, or Sentry
loginfoFunctions and views for PostgreSQL to query the postgres log
table_logrecord table modification logs and PITR for table/row
pg_querylogCaptures current and recently completed backend queries in shared memory for SQL inspection.
logfmtlogfmt log collector
tablelogTrigger-based audit and change-data-capture extension that records INSERT, UPDATE, and DELETE row images in a central log table and can generate replay SQL.
cyanauditCyan Audit core extension
table_log_plPL/pgSQL drop-in replacement for the table_log trigger-based DML auditing extension.
pg_loggingCaptures PostgreSQL log records in a shared-memory ring buffer and exposes them through SQL functions.