Be very careful with this command. It will empty the contents of your PostgreSQL table. This is useful in development, but you'll rarely want to do this in production.
If you have a serial ID column and you'd like to restart its sequence (ie restart IDs from 1):
truncate my_table restart identity
Spread the word