"=?ISO-8859-1?B?Y2NhNTUwNw==?=" <cca5...@qq.com> writes: > postgres=> alter group g1 drop user r1; > ERROR: permission denied to alter role > DETAIL: Only roles with the ADMIN option on role "g1" may add members.
> The errmsg is "add members", but we are doing a drop. > Here is a small patch to fix it. Hmm. Seems simpler to just make the errdetail say "... may add or drop members." regards, tom lane