Don't make "replication" magical as a user name, only as a database name, in pg_hba.conf.
Per gripe from Josh Berkus.
This commit is contained in:
parent
bf50caf105
commit
ed557a373c
|
@ -492,6 +492,8 @@ check_role(const char *role, Oid roleid, char *param_str)
|
|||
return true;
|
||||
}
|
||||
else if (strcmp(tok, role) == 0 ||
|
||||
(strcmp(tok, "replication\n") == 0 &&
|
||||
strcmp(role,"replication") ==0) ||
|
||||
strcmp(tok, "all\n") == 0)
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue