Re: refactor ownercheck and aclcheck functions

Corey Huinker <corey.huinker@gmail.com>

From: Corey Huinker <corey.huinker@gmail.com>
To: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2022-11-09T18:12:36Z
Lists: pgsql-hackers
>
> After considering this again, I decided to brute-force this and get rid
> of all the trivial wrapper functions and also several of the special
> cases.  That way, there is less confusion at the call sites about why
> this or that style is used in a particular case.  Also, it now makes
> sure you can't accidentally use the generic functions when a particular
> one should be used.
>

+1

However, the aclcheck patch isn't applying for me now. That patch modifies
37 files, so it's hard to say just which commit conflicts.

Commits

  1. Refactor aclcheck functions

  2. Refactor ownercheck functions

  3. Unify drop-by-OID functions