If we delete a data source, is there an easy way of deleting all the tables that were generated by it?

The best way to delete tables is with the DROP TABLE syntax in the Workbench. You can access the list of tables in your database using the following command:

SELECT * FROM pg_tables;

From here you can decide which tables to drop from your database. Then use the DROP TABLE syntax to delete them.

DROP TABLE foo;
1 Like