How to Check wich partition contain specific rows in PostgreSQL