QUERY PLAN
Sort (cost=72.37..72.39 rows=9 width=22)
Sort Key: id
-> Seq Scan on tbl_purchase_invoice_amounts (cost=0.00..72.23 rows=9 width=22)
Filter: (purchase_invoice_id = ANY ('{1775,1781,1834,2091,2093,2108,2183,2462,2546}'::integer[]))