mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
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
This commit is contained in:
@ -55,6 +55,9 @@ extern PGDLLIMPORT int XactIsoLevel;
|
||||
extern bool DefaultXactReadOnly;
|
||||
extern bool XactReadOnly;
|
||||
|
||||
/* flag for logging statements in this transaction */
|
||||
extern bool xact_is_sampled;
|
||||
|
||||
/*
|
||||
* Xact is deferrable -- only meaningful (currently) for read only
|
||||
* SERIALIZABLE transactions
|
||||
|
Reference in New Issue
Block a user