From 13c0005695697aa6e462724f30e30b362890f4c4 Mon Sep 17 00:00:00 2001 From: Denis Bykhov Date: Sat, 2 Nov 2024 21:30:53 +0500 Subject: [PATCH] Fix pg application name (#7087) Signed-off-by: Denis Bykhov --- server/postgres/src/utils.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/server/postgres/src/utils.ts b/server/postgres/src/utils.ts index fd031066f1..550a05c055 100644 --- a/server/postgres/src/utils.ts +++ b/server/postgres/src/utils.ts @@ -182,8 +182,9 @@ export function getDBClient (connectionString: string, database?: string): Postg if (existing === undefined) { const sql = postgres(connectionString, { - connectionString, - application_name: 'transactor', + connection: { + application_name: 'transactor' + }, database, max: 10, transform: {