This doesn't work
CREATE ROLE "role-one" LOGIN;
CREATE ROLE "other_role" LOGIN WITH "role-one";
I get this error
ERROR: unrecognized role option "role-one"
LINE 1: CREATE ROLE "other_role" WITH "role-one";
What am I doing wrong? I can't find examples online that make it clear to me what the syntax is. From what I have seen this should work.
How do I create a new role with LOGIN and add it to another role named role-one?