David, thanks for the detailed explanation!I missed the fact that there were two different locks.Issue resolved.
-- With best regards,Dmitry Koval
Postgres Professional: http://postgrespro.com