- Code: Select all
Error: PokerStars: Unable to import hand (#19724570850). Reason: Unable to execute query: COPY tourney_holdem_hand_summary FROM STDIN;; Reason: Fatal Error (ERROR: duplicate key value violates unique constraint "tourney_holdem_hand_summary_primary_key" CONTEXT:
Error: PokerStars: Unable to import hand (#19724806863). Reason: Unable to execute query: COPY tourney_holdem_hand_summary FROM STDIN;; Reason: Fatal Error (ERROR: duplicate key value violates unique constraint "tourney_holdem_hand_summary_primary_key" CONTEXT:
It would seem that PostgreSQL should be handling the issuing of a unique id_hand with each new transaction. Am I wrong in believing this? It would appear that the second transaction is attempting to commit with a id_hand that is already used. Could that be because the first transaction did not commit, or it's indices haven't been updated yet? Would changing the transaction isolation level help this? Or is this an application issue?
Does anyone have any thoughts?
Thanks,
Modemouth
