@@ -3776,7 +3776,7 @@ CheckForSerializableConflictOut(bool visible, Relation relation,
37763776ereport (ERROR ,
37773777(errcode (ERRCODE_T_R_SERIALIZATION_FAILURE ),
37783778errmsg ("could not serialize access due to read/write dependencies among transactions" ),
3779- errdetail ("Canceled on identification as a pivot, during conflict out checking." ),
3779+ errdetail_internal ("Canceled on identification as a pivot, during conflict out checking." ),
37803780errhint ("The transaction might succeed if retried." )));
37813781}
37823782
@@ -3865,15 +3865,15 @@ CheckForSerializableConflictOut(bool visible, Relation relation,
38653865ereport (ERROR ,
38663866(errcode (ERRCODE_T_R_SERIALIZATION_FAILURE ),
38673867errmsg ("could not serialize access due to read/write dependencies among transactions" ),
3868- errdetail ("Canceled on conflict out to old pivot %u." ,xid ),
3868+ errdetail_internal ("Canceled on conflict out to old pivot %u." ,xid ),
38693869errhint ("The transaction might succeed if retried." )));
38703870
38713871if (SxactHasSummaryConflictIn (MySerializableXact )
38723872|| !SHMQueueEmpty (& MySerializableXact -> inConflicts ))
38733873ereport (ERROR ,
38743874(errcode (ERRCODE_T_R_SERIALIZATION_FAILURE ),
38753875errmsg ("could not serialize access due to read/write dependencies among transactions" ),
3876- errdetail ("Canceled on identification as a pivot, with conflict out to old committed transaction %u." ,xid ),
3876+ errdetail_internal ("Canceled on identification as a pivot, with conflict out to old committed transaction %u." ,xid ),
38773877errhint ("The transaction might succeed if retried." )));
38783878
38793879MySerializableXact -> flags |=SXACT_FLAG_SUMMARY_CONFLICT_OUT ;
@@ -3912,7 +3912,7 @@ CheckForSerializableConflictOut(bool visible, Relation relation,
39123912ereport (ERROR ,
39133913(errcode (ERRCODE_T_R_SERIALIZATION_FAILURE ),
39143914errmsg ("could not serialize access due to read/write dependencies among transactions" ),
3915- errdetail ("Canceled on conflict out to old pivot." ),
3915+ errdetail_internal ("Canceled on conflict out to old pivot." ),
39163916errhint ("The transaction might succeed if retried." )));
39173917}
39183918}
@@ -4151,7 +4151,7 @@ CheckForSerializableConflictIn(Relation relation, HeapTuple tuple,
41514151ereport (ERROR ,
41524152(errcode (ERRCODE_T_R_SERIALIZATION_FAILURE ),
41534153errmsg ("could not serialize access due to read/write dependencies among transactions" ),
4154- errdetail ("Canceled on identification as a pivot, during conflict in checking." ),
4154+ errdetail_internal ("Canceled on identification as a pivot, during conflict in checking." ),
41554155errhint ("The transaction might succeed if retried." )));
41564156
41574157/*
@@ -4489,7 +4489,7 @@ OnConflict_CheckForSerializationFailure(const SERIALIZABLEXACT *reader,
44894489ereport (ERROR ,
44904490(errcode (ERRCODE_T_R_SERIALIZATION_FAILURE ),
44914491errmsg ("could not serialize access due to read/write dependencies among transactions" ),
4492- errdetail ("Canceled on identification as a pivot, during write." ),
4492+ errdetail_internal ("Canceled on identification as a pivot, during write." ),
44934493errhint ("The transaction might succeed if retried." )));
44944494}
44954495else if (SxactIsPrepared (writer ))
@@ -4501,7 +4501,7 @@ OnConflict_CheckForSerializationFailure(const SERIALIZABLEXACT *reader,
45014501ereport (ERROR ,
45024502(errcode (ERRCODE_T_R_SERIALIZATION_FAILURE ),
45034503errmsg ("could not serialize access due to read/write dependencies among transactions" ),
4504- errdetail ("Canceled on conflict out to pivot %u, during read." ,writer -> topXid ),
4504+ errdetail_internal ("Canceled on conflict out to pivot %u, during read." ,writer -> topXid ),
45054505errhint ("The transaction might succeed if retried." )));
45064506}
45074507writer -> flags |=SXACT_FLAG_DOOMED ;
@@ -4543,7 +4543,7 @@ PreCommit_CheckForSerializationFailure(void)
45434543ereport (ERROR ,
45444544(errcode (ERRCODE_T_R_SERIALIZATION_FAILURE ),
45454545errmsg ("could not serialize access due to read/write dependencies among transactions" ),
4546- errdetail ("Canceled on identification as a pivot, during commit attempt." ),
4546+ errdetail_internal ("Canceled on identification as a pivot, during commit attempt." ),
45474547errhint ("The transaction might succeed if retried." )));
45484548}
45494549
@@ -4581,7 +4581,7 @@ PreCommit_CheckForSerializationFailure(void)
45814581ereport (ERROR ,
45824582(errcode (ERRCODE_T_R_SERIALIZATION_FAILURE ),
45834583errmsg ("could not serialize access due to read/write dependencies among transactions" ),
4584- errdetail ("Canceled on commit attempt with conflict in from prepared pivot." ),
4584+ errdetail_internal ("Canceled on commit attempt with conflict in from prepared pivot." ),
45854585errhint ("The transaction might succeed if retried." )));
45864586}
45874587nearConflict -> sxactOut -> flags |=SXACT_FLAG_DOOMED ;