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(-)