Resolve with_role method throws a pg::syntaxerror #233