cannot delete from view pg_replication_slots

In this article, we will see solution for the error “cannot delete from view pg_replication_slots”.

ERROR: cannot delete from view "pg_replication_slots" DETAIL: Views that do not select from a single table or view are not automatically updatable. HINT: To enable deleting from the view, provide an INSTEAD OF DELETE trigger or an unconditional ON DELETE DO INSTEAD rule.

cannot delete from view pg_replication_slots

Continue reading cannot delete from view pg_replication_slots

ERROR: cannot drop table because other objects depend on it

Following error received when tried to drop table from PostgreSQL server.

ERROR: cannot drop table emp because other objects depend on it DETAIL: view customer_view depends on table emp HINT: Use DROP ... CASCADE to drop the dependent objects too.

ERROR:  cannot drop table because other objects depend on it

Continue reading ERROR: cannot drop table because other objects depend on it