Re: DROP OWNED BY is broken on master branch.

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Rushabh Lathia <rushabh.lathia@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, Robert Haas <robertmhaas@gmail.com>
Date: 2022-09-26T08:00:56Z
Lists: pgsql-hackers
On Mon, Sep 26, 2022 at 01:13:53PM +0530, Rushabh Lathia wrote:
> Please find the attached patch which fixes the case.

Could it be possible to stress this stuff in the regression tests?
There is a gap here.  (I have not looked at what you are proposing.)
--
Michael

Commits

  1. Fix bug in DROP OWNED BY.

  2. Ensure that pg_auth_members.grantor is always valid.