From 140fbebaeea2ba05ce916e0173020a79e5dfebe8 Mon Sep 17 00:00:00 2001 From: Joshen Lim Date: Wed, 26 Jun 2024 17:35:01 +0800 Subject: [PATCH] Connection strings to be prefixed with postgresql:// instead of postgres:// (#27533) --- .../Database/DatabaseSettings/DatabaseSettings.utils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/studio/components/interfaces/Settings/Database/DatabaseSettings/DatabaseSettings.utils.ts b/apps/studio/components/interfaces/Settings/Database/DatabaseSettings/DatabaseSettings.utils.ts index 31da04db4ad..cb257a61176 100644 --- a/apps/studio/components/interfaces/Settings/Database/DatabaseSettings/DatabaseSettings.utils.ts +++ b/apps/studio/components/interfaces/Settings/Database/DatabaseSettings/DatabaseSettings.utils.ts @@ -90,7 +90,7 @@ export const constructConnStringSyntax = ( if (selectedTab === 'uri' || selectedTab === 'nodejs') { if (isMd5) { return [ - { value: 'postgres://', tooltip: undefined }, + { value: 'postgresql://', tooltip: undefined }, { value: '[user]', tooltip: DB_USER_DESC }, { value: ':', tooltip: undefined }, { value: '[password]', tooltip: DB_PASS_DESC }, @@ -109,7 +109,7 @@ export const constructConnStringSyntax = ( ] } else { return [ - { value: 'postgres://', tooltip: undefined }, + { value: 'postgresql://', tooltip: undefined }, { value: '[user]', tooltip: DB_USER_DESC }, ...(usePoolerConnection ? [