pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Add isolation test for INSERT ON CONFLICT speculative insertion 4+ messages / 1 participants [nested] [flat]
* pgsql: Add isolation test for INSERT ON CONFLICT speculative insertion @ 2019-05-14 19:06 Andres Freund <andres@anarazel.de> 0 siblings, 0 replies; 4+ messages in thread From: Andres Freund @ 2019-05-14 19:06 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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- Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/08e2edc0767ab6e619970f165cb34d4673105f23 Modified Files -------------- .../expected/insert-conflict-specconflict.out | 179 +++++++++++++++++++++ src/test/isolation/isolation_schedule | 1 + .../specs/insert-conflict-specconflict.spec | 149 +++++++++++++++++ 3 files changed, 329 insertions(+) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Add isolation test for INSERT ON CONFLICT speculative insertion @ 2019-05-14 19:06 Andres Freund <andres@anarazel.de> 0 siblings, 0 replies; 4+ messages in thread From: Andres Freund @ 2019-05-14 19:06 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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- Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/05cf41973157577aac9706dcc7998054949b0ed4 Modified Files -------------- .../expected/insert-conflict-specconflict.out | 179 +++++++++++++++++++++ src/test/isolation/isolation_schedule | 1 + .../specs/insert-conflict-specconflict.spec | 149 +++++++++++++++++ 3 files changed, 329 insertions(+) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Add isolation test for INSERT ON CONFLICT speculative insertion @ 2019-05-14 19:06 Andres Freund <andres@anarazel.de> 0 siblings, 0 replies; 4+ messages in thread From: Andres Freund @ 2019-05-14 19:06 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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- Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/04595960a0a7c8844198668186bec2a6115244e0 Modified Files -------------- .../expected/insert-conflict-specconflict.out | 179 +++++++++++++++++++++ src/test/isolation/isolation_schedule | 1 + .../specs/insert-conflict-specconflict.spec | 149 +++++++++++++++++ 3 files changed, 329 insertions(+) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Add isolation test for INSERT ON CONFLICT speculative insertion @ 2019-05-14 19:06 Andres Freund <andres@anarazel.de> 0 siblings, 0 replies; 4+ messages in thread From: Andres Freund @ 2019-05-14 19:06 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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- Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/0491a51fdd4e87fd5ab42ae42dfb9931cac681f6 Modified Files -------------- .../expected/insert-conflict-specconflict.out | 179 +++++++++++++++++++++ src/test/isolation/isolation_schedule | 1 + .../specs/insert-conflict-specconflict.spec | 149 +++++++++++++++++ 3 files changed, 329 insertions(+) ^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2019-05-14 19:06 UTC | newest] Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2019-05-14 19:06 pgsql: Add isolation test for INSERT ON CONFLICT speculative insertion Andres Freund <andres@anarazel.de> 2019-05-14 19:06 pgsql: Add isolation test for INSERT ON CONFLICT speculative insertion Andres Freund <andres@anarazel.de> 2019-05-14 19:06 pgsql: Add isolation test for INSERT ON CONFLICT speculative insertion Andres Freund <andres@anarazel.de> 2019-05-14 19:06 pgsql: Add isolation test for INSERT ON CONFLICT speculative insertion Andres Freund <andres@anarazel.de>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox