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

This commit is contained in:
Joshen Lim authored and GitHub committed 2024-06-26 17:35:01 +08:00
1 parent ae8dafd0a4
commit 140fbebaee
1 file changed
+2 -2
@@ -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
? [