aboutsummaryrefslogtreecommitdiff
path: root/src/backend/storage/ipc/dsm_impl.c
diff options
context:
space:
mode:
authorStephen Frost <sfrost@snowman.net>2016-03-15 18:04:39 -0400
committerStephen Frost <sfrost@snowman.net>2016-03-15 18:04:39 -0400
commitfd658dbb300456b393536802d1145a9cea7b25d6 (patch)
treed8c800c8fb437203fb8b44f1bc021f063ee2f72e /src/backend/storage/ipc/dsm_impl.c
parent5bcc413f80de4e0bc8f0df15d7d0ac2e8272dec5 (diff)
downloadpostgresql-fd658dbb300456b393536802d1145a9cea7b25d6.tar.gz
postgresql-fd658dbb300456b393536802d1145a9cea7b25d6.zip
Avoid incorrectly indicating exclusion constraint wait
INSERT ... ON CONFLICT's precheck may have to wait on the outcome of another insertion, which may or may not itself be a speculative insertion. This wait is not necessarily associated with an exclusion constraint, but was always reported that way in log messages if the wait happened to involve a tuple that had no speculative token. Initially discovered through use of ON CONFLICT DO NOTHING, where spurious references to exclusion constraints in log messages were more likely. Patch by Peter Geoghegan. Reviewed by Julien Rouhaud. Back-patch to 9.5 where INSERT ... ON CONFLICT was added.
Diffstat (limited to 'src/backend/storage/ipc/dsm_impl.c')
0 files changed, 0 insertions, 0 deletions