mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-03 02:56:40 +02:00
Merge branch 'master' into lazy-update
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user