parent
878665a010
commit
609517237e
|
|
@ -98,7 +98,7 @@ func (c *Cluster) pgConnectionString(dbname string) string {
|
||||||
dbname = "postgres"
|
dbname = "postgres"
|
||||||
}
|
}
|
||||||
|
|
||||||
return fmt.Sprintf("host='%s' dbname='%s' sslmode=require user='%s' password='%s' connect_timeout='%d' options='-c log_statement%30all'",
|
return fmt.Sprintf("host='%s' dbname='%s' sslmode=require user='%s' password='%s' connect_timeout='%d' options='-c log_statement%3Dall'",
|
||||||
fmt.Sprintf("%s.%s.svc.%s", c.Name, c.Namespace, c.OpConfig.ClusterDomain),
|
fmt.Sprintf("%s.%s.svc.%s", c.Name, c.Namespace, c.OpConfig.ClusterDomain),
|
||||||
dbname,
|
dbname,
|
||||||
c.systemUsers[constants.SuperuserKeyName].Name,
|
c.systemUsers[constants.SuperuserKeyName].Name,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue