Deletes every object owned by the role in the current database and revokes its privileges, preparing a clean DROP USER. Irreversible: tables, views, and sequences owned by the role are removed. Run it in each database where the role owns things.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.