protect table from delete postgresql code example Example: psql delete table DROP TABLE [ IF EXISTS ] name [, ...] [ CASCADE | RESTRICT ]