Alternately, you can just share the normal implementation of `purge_bucket` globally.  There's nothing wrong with running `DELETE FROM poky WHERE bucket = b;` on the partitioned db.