fix(svc): allow disabling named Postgres prepared statements (#2256)

This commit is contained in:
Hampus
2026-08-31 17:19:44 +02:00
committed by GitHub
parent b8f8d8d859
commit 542fb9176a
10 changed files with 569 additions and 59 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ async fn main() -> anyhow::Result<()> {
let postgres_config =
fluxer_svc::postgres::PostgresConfig::from_service_config(&config);
let pool = fluxer_svc::postgres::connect(&postgres_config).await?;
let kv = fluxer_svc::postgres::KvClient::new(pool, &postgres_config.kv_table)?;
let kv = fluxer_svc::postgres::KvClient::new(pool, &postgres_config)?;
UsersShard::new_postgres(
kv,
transport.clone(),