Alexander Kukushkin <cyberdemn(at)gmail(dot)com> writes:
> E.g. superuser is supposed to use "revoke bb from aa granted by b"
Exactly. This is not a bug, you just did not correctly name the
privilege you're trying to revoke.
If memory serves, the default behavior for a superuser is that
we'll revoke the privilege as granted by the object owner, since
that's the most common case. For everyone else, the default
assumption about "granted by" is "yourself". Some edge cases
about this might have changed in v16, not sure.
regards, tom lane