Skip to content

Commit 06282bb

Browse files
FIX (connection): Avoid usage of prepare statements to get rid of problem with PgBounder
1 parent a3b263b commit 06282bb

File tree

1 file changed

+2
-1
lines changed
  • backend/internal/features/databases/databases/postgresql

1 file changed

+2
-1
lines changed

backend/internal/features/databases/databases/postgresql/model.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,8 @@ func buildConnectionStringForDB(p *PostgresqlDatabase, dbName string, password s
593593
sslMode = "require"
594594
}
595595

596-
return fmt.Sprintf("host=%s port=%d user=%s password=%s dbname=%s sslmode=%s",
596+
return fmt.Sprintf(
597+
"host=%s port=%d user=%s password=%s dbname=%s sslmode=%s default_query_exec_mode=simple_protocol",
597598
p.Host,
598599
p.Port,
599600
p.Username,

0 commit comments

Comments
 (0)