diff options
author | Andres Freund <andres@anarazel.de> | 2019-05-14 11:45:40 -0700 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2019-05-14 11:51:29 -0700 |
commit | 08e2edc0767ab6e619970f165cb34d4673105f23 (patch) | |
tree | e27e5925fec2ca1f60c78d269bffd42e461355e3 /src/backend/executor/nodeModifyTable.c | |
parent | 6d2fba3189608186d1a196a595f21760412ec5e8 (diff) | |
download | postgresql-08e2edc0767ab6e619970f165cb34d4673105f23.tar.gz postgresql-08e2edc0767ab6e619970f165cb34d4673105f23.zip |
Add isolation test for INSERT ON CONFLICT speculative insertion failure.
This path previously was not reliably covered. There was some
heuristic coverage via insert-conflict-toast.spec, but that test is
not deterministic, and only tested for a somewhat specific bug.
Backpatch, as this is a complicated and otherwise untested code
path. Unfortunately 9.5 cannot handle two waiting sessions, and thus
cannot execute this test.
Triggered by a conversion with Melanie Plageman.
Author: Andres Freund
Discussion: https://postgr.es/m/CAAKRu_a7hbyrk=wveHYhr4LbcRnRCG=yPUVoQYB9YO1CdUBE9Q@mail.gmail.com
Backpatch: 9.5-
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions