PostgreSQL function to delete a batch of tables at once, including by wildcard. Beware.
SELECT footgun('schema', 'tablename');