Remove leftovers from PostgreSQL