Re: REVOKE FROM warning on grantor

From: Étienne BERSAC <etienne(dot)bersac(at)dalibo(dot)com>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: REVOKE FROM warning on grantor
Date: 2024-03-16 20:30:23
Message-ID: ea8bc8b720978e21e4dd3cbe1efd1f890c722c12.camel@dalibo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi David,

> That should have read:  the granted permission does not exist

Thanks, its clear.

However, I'm hitting the warning when removing a role from a group. But
the membership remains after the warning. In this case, I expect an
error.

I'll try to patch the behaviour to ensure an error if the REVOKE is
ineffective.

Regards,
Étienne

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Wolfgang Walther 2024-03-16 20:31:10 Re: Regression tests fail with musl libc because libpq.so can't be loaded
Previous Message Tomas Vondra 2024-03-16 20:25:18 Re: BitmapHeapScan streaming read user and prelim refactoring