QUERY PLAN
Delete on tbl_visit_object_histories (cost=0.00..1.29 rows=2 width=6)
-> Seq Scan on tbl_visit_object_histories (cost=0.00..1.29 rows=2 width=6)
Filter: ((user_id = 5495) AND (id <> ALL ('{16,11,12,13,1,8,5,4,2}'::integer[])))