Re: Role Self-Administration
От | Mark Dilger |
---|---|
Тема | Re: Role Self-Administration |
Дата | |
Msg-id | 576BE406-869E-46B7-BEBB-15F46181BBD4@enterprisedb.com обсуждение исходный текст |
Ответ на | Re: Role Self-Administration (Stephen Frost <sfrost@snowman.net>) |
Список | pgsql-hackers |
> On Oct 7, 2021, at 7:44 PM, Stephen Frost <sfrost@snowman.net> wrote: > > I don't actually think REVOKE ROLE CASCADE must not fail, nor do I see > that as explicit in anything you quote above. I don't see that myself, but I thought that you would, given your other statements about how we shouldn't take a spec requirementto do X and turn it into doing X+Y, because the user wouldn't be expecting Y. So I thought that if DROP ROLEbob was defined in the spec to basically just do REVOKE bob FROM EVERYBODY, and if the CASCADE version of that wasn'tsupposed to fail, then you'd say that DROP ROLE bob CASCADE wasn't supposed to fail either. (Failing is the unexpectedaction Y that I expected your rule to prohibit.) — Mark Dilger EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
В списке pgsql-hackers по дате отправления: