pgsql: Log all statements from a sample of transactions - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Log all statements from a sample of transactions
Date
Msg-id E1hBnuk-0007oV-5h@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Log all statements from a sample of transactions

This is useful to obtain a view of the different transaction types in an
application, regardless of the durations of the statements each runs.

Author: Adrien Nayrat
Reviewed-by: Masahiko Sawada, Hayato Kuroda, Andres Freund

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/799e220346f1387e823a4dbdc3b1c8c3cdc5c3e0

Modified Files
--------------
doc/src/sgml/config.sgml                      | 26 ++++++++++++++++++++++++++
src/backend/access/transam/xact.c             |  8 ++++++++
src/backend/tcop/postgres.c                   |  8 +++++---
src/backend/utils/misc/guc.c                  | 13 +++++++++++++
src/backend/utils/misc/postgresql.conf.sample |  4 ++++
src/include/access/xact.h                     |  3 +++
src/include/utils/guc.h                       |  1 +
7 files changed, 60 insertions(+), 3 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Remove now-unnecessary thread pointer arguments in pgbench.
Next
From: Tomas Vondra
Date:
Subject: pgsql: Add SETTINGS option to EXPLAIN, to print modified settings.