Commit ed557a37 authored by Andrew Dunstan's avatar Andrew Dunstan

Don't make "replication" magical as a user name, only as a database name, in pg_hba.conf.

Per gripe from Josh Berkus.
parent bf50caf1
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment