PostgreSQL: Read postgresDSUsePGX from config (#112170)

* PostgreSQL: Read `postgresDSUsePGX` from config

* Update plugins_test
This commit is contained in:
Zoltán Bedi
2025-10-10 15:55:55 +02:00
committed by GitHub
parent f33e6e47d5
commit 5e8267fcf8
6 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -392,7 +392,7 @@ func Initialize(ctx context.Context, cfg *setting.Cfg, opts Options, apiOpts api
prometheusService := prometheus.ProvideService(httpclientProvider)
tempoService := tempo.ProvideService(httpclientProvider, tracer)
testdatasourceService := testdatasource.ProvideService()
postgresService := postgres.ProvideService(cfg, featureToggles)
postgresService := postgres.ProvideService(cfg)
mysqlService := mysql.ProvideService()
mssqlService := mssql.ProvideService(cfg)
entityEventsService := store.ProvideEntityEventsService(cfg, sqlStore, featureToggles)
@@ -994,7 +994,7 @@ func InitializeForTest(ctx context.Context, t sqlutil.ITestDB, testingT interfac
prometheusService := prometheus.ProvideService(httpclientProvider)
tempoService := tempo.ProvideService(httpclientProvider, tracer)
testdatasourceService := testdatasource.ProvideService()
postgresService := postgres.ProvideService(cfg, featureToggles)
postgresService := postgres.ProvideService(cfg)
mysqlService := mysql.ProvideService()
mssqlService := mssql.ProvideService(cfg)
entityEventsService := store.ProvideEntityEventsService(cfg, sqlStore, featureToggles)