QUERY PLAN
Sort (cost=65.85..65.87 rows=8 width=22)
Sort Key: id
-> Seq Scan on tbl_purchase_invoice_amounts (cost=0.00..65.73 rows=8 width=22)
Filter: (purchase_invoice_id = ANY ('{2544,2550,2567,2570,2615,2672,2752}'::integer[]))