QUERY PLAN
Sort (cost=101.87..101.92 rows=19 width=22)
Sort Key: id
-> Seq Scan on tbl_purchase_invoice_amounts (cost=0.00..101.47 rows=19 width=22)
Filter: (purchase_invoice_id = ANY ('{2656,2661,2662,2663,2667,2668,2669,2670,2679,2680,2715,2717,2718,2720,2721,2723,2729,2733}'::integer[]))