Skip to content

Commit e92e7c9

Browse files
author
experdb
committed
modified default values log_timing from on to off, max: 1000 to 5000, min_duration 0 to 10
1 parent e24c3dd commit e92e7c9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pg_store_plans.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ _PG_init(void)
409409
"Sets the maximum number of plans tracked by pg_store_plans.",
410410
NULL,
411411
&store_size,
412-
1000,
412+
5000,
413413
100,
414414
INT_MAX,
415415
PGC_POSTMASTER,
@@ -471,7 +471,7 @@ _PG_init(void)
471471
"Minimum duration to record plan in milliseconds.",
472472
NULL,
473473
&min_duration,
474-
0,
474+
10,
475475
0,
476476
INT_MAX,
477477
PGC_SUSET,
@@ -517,7 +517,7 @@ _PG_init(void)
517517
"Log timings.",
518518
NULL,
519519
&log_timing,
520-
true,
520+
false,
521521
PGC_SUSET,
522522
0,
523523
NULL,

0 commit comments

Comments
 (0)