@@ -3776,7 +3776,7 @@ CheckForSerializableConflictOut(bool visible, Relation relation,
3776
3776
ereport (ERROR ,
3777
3777
(errcode (ERRCODE_T_R_SERIALIZATION_FAILURE ),
3778
3778
errmsg ("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." ),
3780
3780
errhint ("The transaction might succeed if retried." )));
3781
3781
}
3782
3782
@@ -3865,15 +3865,15 @@ CheckForSerializableConflictOut(bool visible, Relation relation,
3865
3865
ereport (ERROR ,
3866
3866
(errcode (ERRCODE_T_R_SERIALIZATION_FAILURE ),
3867
3867
errmsg ("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 ),
3869
3869
errhint ("The transaction might succeed if retried." )));
3870
3870
3871
3871
if (SxactHasSummaryConflictIn (MySerializableXact )
3872
3872
|| !SHMQueueEmpty (& MySerializableXact -> inConflicts ))
3873
3873
ereport (ERROR ,
3874
3874
(errcode (ERRCODE_T_R_SERIALIZATION_FAILURE ),
3875
3875
errmsg ("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 ),
3877
3877
errhint ("The transaction might succeed if retried." )));
3878
3878
3879
3879
MySerializableXact -> flags |= SXACT_FLAG_SUMMARY_CONFLICT_OUT ;
@@ -3912,7 +3912,7 @@ CheckForSerializableConflictOut(bool visible, Relation relation,
3912
3912
ereport (ERROR ,
3913
3913
(errcode (ERRCODE_T_R_SERIALIZATION_FAILURE ),
3914
3914
errmsg ("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." ),
3916
3916
errhint ("The transaction might succeed if retried." )));
3917
3917
}
3918
3918
}
@@ -4151,7 +4151,7 @@ CheckForSerializableConflictIn(Relation relation, HeapTuple tuple,
4151
4151
ereport (ERROR ,
4152
4152
(errcode (ERRCODE_T_R_SERIALIZATION_FAILURE ),
4153
4153
errmsg ("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." ),
4155
4155
errhint ("The transaction might succeed if retried." )));
4156
4156
4157
4157
/*
@@ -4489,7 +4489,7 @@ OnConflict_CheckForSerializationFailure(const SERIALIZABLEXACT *reader,
4489
4489
ereport (ERROR ,
4490
4490
(errcode (ERRCODE_T_R_SERIALIZATION_FAILURE ),
4491
4491
errmsg ("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." ),
4493
4493
errhint ("The transaction might succeed if retried." )));
4494
4494
}
4495
4495
else if (SxactIsPrepared (writer ))
@@ -4501,7 +4501,7 @@ OnConflict_CheckForSerializationFailure(const SERIALIZABLEXACT *reader,
4501
4501
ereport (ERROR ,
4502
4502
(errcode (ERRCODE_T_R_SERIALIZATION_FAILURE ),
4503
4503
errmsg ("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 ),
4505
4505
errhint ("The transaction might succeed if retried." )));
4506
4506
}
4507
4507
writer -> flags |= SXACT_FLAG_DOOMED ;
@@ -4543,7 +4543,7 @@ PreCommit_CheckForSerializationFailure(void)
4543
4543
ereport (ERROR ,
4544
4544
(errcode (ERRCODE_T_R_SERIALIZATION_FAILURE ),
4545
4545
errmsg ("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." ),
4547
4547
errhint ("The transaction might succeed if retried." )));
4548
4548
}
4549
4549
@@ -4581,7 +4581,7 @@ PreCommit_CheckForSerializationFailure(void)
4581
4581
ereport (ERROR ,
4582
4582
(errcode (ERRCODE_T_R_SERIALIZATION_FAILURE ),
4583
4583
errmsg ("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." ),
4585
4585
errhint ("The transaction might succeed if retried." )));
4586
4586
}
4587
4587
nearConflict -> sxactOut -> flags |= SXACT_FLAG_DOOMED ;
0 commit comments