QUERY PLAN
Result (cost=37.75..37.76 rows=1 width=1)
InitPlan 1 (returns $0)
-> Seq Scan on tbl_attachement_relationships (cost=0.00..37.75 rows=1 width=0)
Filter: ((object_id = 8) AND (object_type = 107))