diff options
Diffstat (limited to 'src/backend/commands')
-rw-r--r-- | src/backend/commands/user.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/backend/commands/user.c b/src/backend/commands/user.c index a90f0b1ffef..9a88c907894 100644 --- a/src/backend/commands/user.c +++ b/src/backend/commands/user.c @@ -239,16 +239,7 @@ CreateRole(CreateRoleStmt *stmt) if (dpassword && dpassword->arg) password = strVal(dpassword->arg); if (dissuper) - { issuper = intVal(dissuper->arg) != 0; - - /* - * Superusers get replication by default, but only if NOREPLICATION - * wasn't explicitly mentioned - */ - if (issuper && !(disreplication && intVal(disreplication->arg) == 0)) - isreplication = 1; - } if (dinherit) inherit = intVal(dinherit->arg) != 0; if (dcreaterole) |