Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Connection strings to be prefixed with postgresql:// instead of postgres:// (#27533)

Joshen Lim140fbebaeea2
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
? [