Source: pg-stat-log Section: database Priority: optional Maintainer: Debian PostgreSQL Maintainers Uploaders: Christoph Berg , Build-Depends: architecture-is-64-bit , debhelper-compat (= 13), postgresql-all , postgresql-server-dev-all (>= 217~), Standards-Version: 4.7.4 Rules-Requires-Root: no Homepage: https://github.com/fabriziomello/pg_stat_log Vcs-Browser: https://salsa.debian.org/postgresql/pg-stat-log Vcs-Git: https://salsa.debian.org/postgresql/pg-stat-log.git Package: postgresql-18-stat-log Architecture: any Depends: ${misc:Depends}, ${postgresql:Depends}, ${shlibs:Depends}, Breaks: ${postgresql:Breaks}, Description: track PostgreSQL log messages This PostgreSQL extension uses the Custom Cumulative Stats API to track log messages, grouped by * backend type -- client backend, autovacuum worker, checkpointer, etc. * database -- which database the message originated from * user -- which role was active * error level -- WARNING, ERROR, FATAL, PANIC, etc. * SQLSTATE code -- the 5-character error code and its human-readable name . Counters are exposed through the pg_stat_log view and the underlying pg_stat_log_data() function. Statistics persist across clean restarts and are discarded after crash recovery, following standard PostgreSQL cumulative stats semantics.