Skip to content

Commit 12ae947

Browse files
authored
Fix pooler psql connection string (supabase#31076)
* Fix pooler psql connection string * Fix pooler psql connection string
1 parent 9f726d1 commit 12ae947

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/studio/components/interfaces/Connect/DatabaseSettings.utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export const getConnectionStrings = (
7272
// Pooler connection strings
7373
const poolerPsqlString = isMd5
7474
? `psql "postgresql://${poolerUser}:${password}@${poolerHost}:${poolerPort}/${poolerName}?options=reference%3D${projectRef}"`
75-
: `psql -h ${poolerHost} -p ${poolerPort} -d ${poolerName} -U ${poolerUser}.${projectRef}`
75+
: `psql -h ${poolerHost} -p ${poolerPort} -d ${poolerName} -U ${poolerUser}`
7676

7777
const poolerUriString = poolingInfo.connectionString
7878

0 commit comments

Comments
 (0)