QUERY PLAN
Update on tbl_erp_inventory_products (cost=0.00..19.22 rows=1 width=218)
-> Seq Scan on tbl_erp_inventory_products (cost=0.00..19.22 rows=1 width=218)
Filter: ((erp_purchase_gift_id = 24) AND (erp_purchase_gift_product_id <> ALL ('{26,29,30,31,32,28,27}'::integer[])))