How to correctly remove all DBMS users, of course, without postgres ? Only comes to mind
delete * from pg_authid where rolname <> 'postgres' but incorrectly - something like a cascade is missing; in this case, no errors are displayed if there are related objects (for example, the user is the owner of the database).