Log all statements from a sample of transactions
Alvaro Herrera <alvherre@alvh.no-ip.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/config.sgml | modified | +26 −0 |
| src/backend/access/transam/xact.c | modified | +8 −0 |
| src/backend/tcop/postgres.c | modified | +5 −3 |
| src/backend/utils/misc/guc.c | modified | +13 −0 |
| src/backend/utils/misc/postgresql.conf.sample | modified | +4 −0 |
| src/include/access/xact.h | modified | +3 −0 |
| src/include/utils/guc.h | modified | +1 −0 |