- Notifications
You must be signed in to change notification settings - Fork5
Commit3f14d8d
committed
Avoid incorrectly indicating exclusion constraint wait
INSERT ... ON CONFLICT's precheck may have to wait on the outcome ofanother insertion, which may or may not itself be a speculativeinsertion. This wait is not necessarily associated with an exclusionconstraint, but was always reported that way in log messages if the waithappened to involve a tuple that had no speculative token.Initially discovered through use of ON CONFLICT DO NOTHING, wherespurious references to exclusion constraints in log messages were morelikely.Patch by Peter Geoghegan.Reviewed by Julien Rouhaud.Back-patch to 9.5 where INSERT ... ON CONFLICT was added.1 parent755ebfa commit3f14d8d
1 file changed
+4
-2
lines changedLines changed: 4 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
725 | 725 |
| |
726 | 726 |
| |
727 | 727 |
| |
| 728 | + | |
728 | 729 |
| |
729 | 730 |
| |
730 | 731 |
| |
| |||
783 | 784 |
| |
784 | 785 |
| |
785 | 786 |
| |
| 787 | + | |
| 788 | + | |
786 | 789 |
| |
787 | 790 |
| |
788 | 791 |
| |
789 | 792 |
| |
790 | 793 |
| |
791 |
| - | |
792 |
| - | |
| 794 | + | |
793 | 795 |
| |
794 | 796 |
| |
795 | 797 |
| |
|
0 commit comments
Comments
(0)