क्या आपने अपडेट/वापसी के लिए प्रयास किया है?
update link
set visiting = true
from (
select id
from link
where visiting = false
and visited = false
limit 500
for update
) as batch
where batch.id = link.id
returning *;
क्या आपने अपडेट/वापसी के लिए प्रयास किया है?
update link
set visiting = true
from (
select id
from link
where visiting = false
and visited = false
limit 500
for update
) as batch
where batch.id = link.id
returning *;