updating docs and helm charts for postgres

This commit is contained in:
afeiszli
2021-10-18 09:28:46 -04:00
parent ef029b0713
commit af3ff04f1b
41 changed files with 1189 additions and 167 deletions

View File

@@ -26,7 +26,7 @@ var PG_FUNCTIONS = map[string]interface{}{
func getPGConnString() string {
pgconf := servercfg.GetSQLConf()
pgConn := fmt.Sprintf("host=%s port=%d user=%s "+
"password=%s dbname=%s sslmode=%s",
"password=%s dbname=%s sslmode=%s connect_timeout=5",
pgconf.Host, pgconf.Port, pgconf.Username, pgconf.Password, pgconf.DB, pgconf.SSLMode)
return pgConn
}