@@ -225,6 +225,9 @@ func (cr *PerconaPGCluster) Default() {
225
225
if cr .Spec .Extensions .BuiltIn .PGStatMonitor == nil {
226
226
cr .Spec .Extensions .BuiltIn .PGStatMonitor = & t
227
227
}
228
+ if cr .Spec .Extensions .BuiltIn .PGStatStatements == nil {
229
+ cr .Spec .Extensions .BuiltIn .PGStatStatements = & f
230
+ }
228
231
if cr .Spec .Extensions .BuiltIn .PGAudit == nil {
229
232
cr .Spec .Extensions .BuiltIn .PGAudit = & t
230
233
}
@@ -355,6 +358,7 @@ func (cr *PerconaPGCluster) ToCrunchy(ctx context.Context, postgresCluster *crun
355
358
postgresCluster .Spec .Proxy = cr .Spec .Proxy .ToCrunchy ()
356
359
357
360
postgresCluster .Spec .Extensions .PGStatMonitor = * cr .Spec .Extensions .BuiltIn .PGStatMonitor
361
+ postgresCluster .Spec .Extensions .PGStatStatements = * cr .Spec .Extensions .BuiltIn .PGStatStatements
358
362
postgresCluster .Spec .Extensions .PGAudit = * cr .Spec .Extensions .BuiltIn .PGAudit
359
363
postgresCluster .Spec .Extensions .PGVector = * cr .Spec .Extensions .BuiltIn .PGVector
360
364
postgresCluster .Spec .Extensions .PGRepack = * cr .Spec .Extensions .BuiltIn .PGRepack
@@ -605,10 +609,11 @@ type CustomExtensionsStorageSpec struct {
605
609
}
606
610
607
611
type BuiltInExtensionsSpec struct {
608
- PGStatMonitor * bool `json:"pg_stat_monitor,omitempty"`
609
- PGAudit * bool `json:"pg_audit,omitempty"`
610
- PGVector * bool `json:"pgvector,omitempty"`
611
- PGRepack * bool `json:"pg_repack,omitempty"`
612
+ PGStatMonitor * bool `json:"pg_stat_monitor,omitempty"`
613
+ PGStatStatements * bool `json:"pg_stat_statements,omitempty"`
614
+ PGAudit * bool `json:"pg_audit,omitempty"`
615
+ PGVector * bool `json:"pgvector,omitempty"`
616
+ PGRepack * bool `json:"pg_repack,omitempty"`
612
617
}
613
618
614
619
type ExtensionsSpec struct {
0 commit comments