From 71ea98f9c0cb7ce87f9cdaeec11c7998df442445 Mon Sep 17 00:00:00 2001 From: Suhas Thalanki Date: Wed, 22 Oct 2025 15:27:39 -0400 Subject: [PATCH] increased constant location multiplier to test --- contrib/pg_stat_statements/pg_stat_statements.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/pg_stat_statements/pg_stat_statements.c b/contrib/pg_stat_statements/pg_stat_statements.c index e7857f81ec0..43b0265306d 100644 --- a/contrib/pg_stat_statements/pg_stat_statements.c +++ b/contrib/pg_stat_statements/pg_stat_statements.c @@ -2831,7 +2831,7 @@ generate_normalized_query(JumbleState *jstate, const char *query, * could refine that limit based on the max value of n for the current * query, but it hardly seems worth any extra effort to do so. */ - norm_query_buflen = query_len + jstate->clocations_count * 10; + norm_query_buflen = query_len + jstate->clocations_count * 20; /* Allocate result buffer */ norm_query = palloc(norm_query_buflen + 1);