QUERY PLAN
Bitmap Heap Scan on tbl_purchase_contract_invoices (cost=40.89..67.72 rows=17 width=147)
Recheck Cond: (id = ANY ('{2042,2039,2031,2029,2018,2016,2013,1989,1979,1946,1934,1932,1908,1878,1877,1876,1872}'::integer[]))
-> Bitmap Index Scan on tbl_purchase_contract_invoices_pkey (cost=0.00..40.89 rows=17 width=0)
Index Cond: (id = ANY ('{2042,2039,2031,2029,2018,2016,2013,1989,1979,1946,1934,1932,1908,1878,1877,1876,1872}'::integer[]))