>If you don't mind a nonstandard query you can write
>
>delete from lr_object_usage where
>lr_locked_objects.lr_object_usage_id = lr_object_usage_id
>and lr_locked_objects.timeout_time < now() ;
Wow, i have not seen a query like that.
Thanks a lot Tom! No i dont mind as long it is that fast compared to the
other ("in") way :)