When working with partitions, there is often a need to delete all partitions at once.
However
DROP TABLE tablename*
Does not work.
So I faced this problem today. I loaded my server db through pgadmin3 and did it that way. Tables are sorted alphabetically so shift and click followed by delete works well.