QUERY PLAN
Update on tbl_erp_inventory_products (cost=0.00..20.95 rows=1 width=258)
-> Seq Scan on tbl_erp_inventory_products (cost=0.00..20.95 rows=1 width=258)
Filter: ((erp_purchase_gift_id = 25) AND (erp_purchase_gift_product_id <> ALL ('{40,33,34,35,36,37,38,39}'::integer[])))