pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Log all statements from a sample of transactions
Date: Wed, 03 Apr 2019 21:59:22 +0000
Message-ID: <E1hBnuk-0007oV-5h@gemulon.postgresql.org> (raw)

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



Message-ID: <E1hBnuk-0007oV-5h@gemulon.postgresql.org>
Permalink:  ../E1hBnuk-0007oV-5h@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1hBnuk-0007oV-5h@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: alvherre@alvh.no-ip.org
  Subject: Re: pgsql: Log all statements from a sample of transactions
  In-Reply-To: <E1hBnuk-0007oV-5h@gemulon.postgresql.org>
  References: <E1hBnuk-0007oV-5h@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox