QUERY PLAN
Delete on tbl_erp_purchase_order_products (cost=0.00..11.60 rows=1 width=6)
-> Seq Scan on tbl_erp_purchase_order_products (cost=0.00..11.60 rows=1 width=6)
Filter: ((id <> ALL ('{337,452}'::integer[])) AND (erp_purchase_order_id = 2164))