Allow setting sample ratio for auto_explain New configuration parameter auto_explain.sample_ratio makes it possible to log just a fraction of the queries meeting the configured threshold, to reduce the amount of logging.
Author: Craig Ringer and Julien Rouhaud Review: Petr Jelinek Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/92f03fe76fe6be683a8b7497579158b8a82b2c25 Modified Files -------------- contrib/auto_explain/auto_explain.c | 31 ++++++++++++++++++++++++++++--- doc/src/sgml/auto-explain.sgml | 18 ++++++++++++++++++ 2 files changed, 46 insertions(+), 3 deletions(-) -- Sent via pgsql-committers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers
