"Ilja Golshtein" <ilejn(at)yandex(dot)ru> writes:>> Why do you want to lock at all?
> It's long and sad story ;(
If you don't explain what you're trying to accomplish, you're unlikelyto get useful advice.
regards, tom lane