Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ERROR: deadlock detected
- DETAIL:
- Process 31391 waits for ShareLock on transaction 770573675; blocked by process 25788.
- Process 25788 waits for ShareLock on transaction 770573695; blocked by process 31391.
- Process 31391: update my_table row_to_update set col_to_update = now() from (select id from my_table where col_to_update is null order by id limit $4 for no key update) matched_row_to_update where row_to_update.id = matched_row_to_update.id returning row_to_update.id as id, row_to_update.col_to_update as col_to_update, row_to_update.other_col as other_col
- Process 25788: update my_table set col_to_update=$1 other_col=$2 where id=$3
- HINT: See server log for query details.
- CONTEXT: while rechecking updated tuple (36328,33) in relation "my_table"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement