dropping a table and getting it back in psql code example Example: how to remove tables from postgresql DROP TABLE IF EXISTS tablename;