Advertisement
Guest User

Untitled

a guest
Feb 21st, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. ERROR: deadlock detected
  2. DETAIL:
  3. Process 31391 waits for ShareLock on transaction 770573675; blocked by process 25788.
  4. Process 25788 waits for ShareLock on transaction 770573695; blocked by process 31391.
  5. 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
  6. Process 25788: update my_table set col_to_update=$1 other_col=$2 where id=$3
  7. HINT: See server log for query details.
  8. CONTEXT: while rechecking updated tuple (36328,33) in relation "my_table"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement