Merge branch 'master' into lazy-update

This commit is contained in:
Sergey Dudoladov
2020-04-27 09:00:12 +02:00
30 changed files with 894 additions and 128 deletions
+6
View File
@@ -219,5 +219,11 @@ func validate(cfg *Config) (err error) {
msg := "number of connection pooler instances should be higher than %d"
err = fmt.Errorf(msg, constants.ConnectionPoolerMinInstances)
}
if cfg.ConnectionPooler.User == cfg.SuperUsername {
msg := "Connection pool user is not allowed to be the same as super user, username: %s"
err = fmt.Errorf(msg, cfg.ConnectionPooler.User)
}
return
}