delete all data from postgres table code example
Example 1: force drop all tables postgres
DROP SCHEMA public CASCADE;
CREATE SCHEMA public;
Example 2: delete entries in postgresql
DELETE FROM table WHERE condition;
Example 3: delete all entries postgres
DELETE FROM tablename;