From 4bc424b968058c7f0aa685821d7039e86faac99c Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Thu, 9 Jun 2016 18:02:36 -0400 Subject: pgindent run for 9.6 --- contrib/auto_explain/auto_explain.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'contrib/auto_explain/auto_explain.c') diff --git a/contrib/auto_explain/auto_explain.c b/contrib/auto_explain/auto_explain.c index fcd11a00713..4ccd2aa8490 100644 --- a/contrib/auto_explain/auto_explain.c +++ b/contrib/auto_explain/auto_explain.c @@ -165,16 +165,16 @@ _PG_init(void) DefineCustomRealVariable("auto_explain.sample_rate", "Fraction of queries to process.", - NULL, - &auto_explain_sample_rate, - 1.0, - 0.0, - 1.0, - PGC_SUSET, - 0, - NULL, - NULL, - NULL); + NULL, + &auto_explain_sample_rate, + 1.0, + 0.0, + 1.0, + PGC_SUSET, + 0, + NULL, + NULL, + NULL); EmitWarningsOnPlaceholders("auto_explain"); @@ -209,12 +209,12 @@ static void explain_ExecutorStart(QueryDesc *queryDesc, int eflags) { /* - * For rate sampling, randomly choose top-level statement. Either - * all nested statements will be explained or none will. + * For rate sampling, randomly choose top-level statement. Either all + * nested statements will be explained or none will. */ if (auto_explain_log_min_duration >= 0 && nesting_level == 0) current_query_sampled = (random() < auto_explain_sample_rate * - MAX_RANDOM_VALUE); + MAX_RANDOM_VALUE); if (auto_explain_enabled() && current_query_sampled) { -- cgit v1.2.3