/
githubmirror
/
postgres
Обзор
Документация
Войти
/
githubmirror
/
postgres
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/test/isolation/expected/insert-conflict-do-nothing.out
27 строк
856 B
Tom Lane
Improve display of query results in isolation tests.
23 июн 2021, 18:13
23 июн 2021, 18:13
4a05406
Код
Авторство
О чём код?
Parsed test spec with 2 sessions starting permutation: donothing1 donothing2 c1 select2 c2 step donothing1: INSERT INTO ints(key, val) VALUES(1, 'donothing1') ON CONFLICT DO NOTHING; step donothing2: INSERT INTO ints(key, val) VALUES(1, 'donothing2') ON CONFLICT DO NOTHING; <waiting ...> step c1: COMMIT; step donothing2: <... completed> step select2: SELECT * FROM ints; key|val ---+---------- 1|donothing1 (1 row) step c2: COMMIT; starting permutation: donothing1 donothing2 a1 select2 c2 step donothing1: INSERT INTO ints(key, val) VALUES(1, 'donothing1') ON CONFLICT DO NOTHING; step donothing2: INSERT INTO ints(key, val) VALUES(1, 'donothing2') ON CONFLICT DO NOTHING; <waiting ...> step a1: ABORT; step donothing2: <... completed> step select2: SELECT * FROM ints; key|val ---+---------- 1|donothing2 (1 row) step c2: COMMIT;