Connecting to postgres
sudo -u postgres psql I delete the user, but it does not work:
postgres=# drop user test_user; ERROR: role "test_user" cannot be dropped because some objects depend on it DETAIL: privileges for database postgres I give a list of all tables:
postgres=# \dt List of relations Schema | Name | Type | Owner --------+-----------------+-------+---------- public | groupped_points | table | postgres public | point1 | table | postgres public | points | table | postgres public | polygon1 | table | postgres public | polygons | table | postgres public | spatial_ref_sys | table | postgres public | temp_points | table | postgres public | test | table | postgres (8 rows) As you can see, no table is associated with test_user . I give a list of users:
postgres=# \du List of roles Role name | Attributes | Member of -----------+------------------------------------------------------------+----------- postgres | Superuser, Create role, Create DB, Replication, Bypass RLS | {} test_user | What could be the problem? What can test_user still be associated with ?