>But seriously, why block autovacuum? It no visible effect on the table. I DO NOT want to block autovacuum. I need lock modes do not interfere with anything else just to use in my application. user_locks is fine, while it does not provide waiting (only immediate Yes or No). >Why do you want to lock at all? It's long and sad story ;( -- Best regards Ilja Golshtein