Skip to content

Commit 13c0005

Browse files
authored
Fix pg application name (#7087)
Signed-off-by: Denis Bykhov <[email protected]>
1 parent c190b1c commit 13c0005

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

server/postgres/src/utils.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,9 @@ export function getDBClient (connectionString: string, database?: string): Postg
182182

183183
if (existing === undefined) {
184184
const sql = postgres(connectionString, {
185-
connectionString,
186-
application_name: 'transactor',
185+
connection: {
186+
application_name: 'transactor'
187+
},
187188
database,
188189
max: 10,
189190
transform: {

0 commit comments

Comments
 (0)