mirror of
https://github.com/supabase/supabase.git
synced 2026-10-08 02:45:07 +03:00
fix: missing closing quotes in connection string (#22897)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
This commit is contained in:
1 parent
731f9d703e
commit
94f17c6d0e
1 file changed
+1
-1
+1
-1
@@ -29,7 +29,7 @@ export const getConnectionStrings = (
|
||||
: `postgresql://${user}:${password}@` + `${host}:${port}` + `/${name}`
|
||||
const golangConnString = `user=${user} password=${password} host=${host} port=${port} dbname=${name}${showOptions ? ` options=reference=${projectRef}` : ''}`
|
||||
const psqlConnString = isMd5
|
||||
? `psql "postgresql://${user}:${password}@${host}:${port}/${name}${usePoolerConnection ? `?options=reference%3D${projectRef}` : ''}`
|
||||
? `psql "postgresql://${user}:${password}@${host}:${port}/${name}${usePoolerConnection ? `?options=reference%3D${projectRef}` : ''}"`
|
||||
: `psql -h ${host} -p ` + `${port} -d ${name} ` + `-U ${user}`
|
||||
const jdbcConnString = `jdbc:postgresql://${host}:${port}/${name}?user=${user}&password=${password}${showOptions ? `&options=reference%3D${projectRef}` : ''}`
|
||||
const dotNetConnString = `User Id=${user};Password=${password};Server=${host};Port=${port};Database=${name};${showOptions ? `Options='reference=${projectRef}'` : ''}`
|
||||
|
||||
Reference in new issue
Block a user