quote admin user to allow names with special characters (#2774)

This commit is contained in:
Felix Kunde 2024-10-16 17:14:44 +02:00 committed by GitHub
parent 41f5fe1dc9
commit bb73334682
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ const (
doBlockStmt = `SET LOCAL synchronous_commit = 'local'; DO $$ BEGIN %s; END;$$;`
passwordTemplate = "ENCRYPTED PASSWORD '%s'"
inRoleTemplate = `IN ROLE %s`
adminTemplate = `ADMIN %s`
adminTemplate = `ADMIN "%s"`
)
// DefaultUserSyncStrategy implements a user sync strategy that merges already existing database users