/
githubmirror
/
postgres
Обзор
Документация
Войти
/
githubmirror
/
postgres
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/test/isolation/expected/simple-write-skew.out
41 строка
1 KB
Heikki Linnakangas
Strip whitespace from SQL blocks in the isolation test suite. This is purely
18 авг 2011, 18:09
18 авг 2011, 18:09
62fd1af
Код
Авторство
О чём код?
Parsed test spec with 2 sessions starting permutation: rwx1 c1 rwx2 c2 step rwx1: UPDATE test SET t = 'apple' WHERE t = 'pear'; step c1: COMMIT; step rwx2: UPDATE test SET t = 'pear' WHERE t = 'apple' step c2: COMMIT; starting permutation: rwx1 rwx2 c1 c2 step rwx1: UPDATE test SET t = 'apple' WHERE t = 'pear'; step rwx2: UPDATE test SET t = 'pear' WHERE t = 'apple' step c1: COMMIT; step c2: COMMIT; ERROR: could not serialize access due to read/write dependencies among transactions starting permutation: rwx1 rwx2 c2 c1 step rwx1: UPDATE test SET t = 'apple' WHERE t = 'pear'; step rwx2: UPDATE test SET t = 'pear' WHERE t = 'apple' step c2: COMMIT; step c1: COMMIT; ERROR: could not serialize access due to read/write dependencies among transactions starting permutation: rwx2 rwx1 c1 c2 step rwx2: UPDATE test SET t = 'pear' WHERE t = 'apple' step rwx1: UPDATE test SET t = 'apple' WHERE t = 'pear'; step c1: COMMIT; step c2: COMMIT; ERROR: could not serialize access due to read/write dependencies among transactions starting permutation: rwx2 rwx1 c2 c1 step rwx2: UPDATE test SET t = 'pear' WHERE t = 'apple' step rwx1: UPDATE test SET t = 'apple' WHERE t = 'pear'; step c2: COMMIT; step c1: COMMIT; ERROR: could not serialize access due to read/write dependencies among transactions starting permutation: rwx2 c2 rwx1 c1 step rwx2: UPDATE test SET t = 'pear' WHERE t = 'apple' step c2: COMMIT; step rwx1: UPDATE test SET t = 'apple' WHERE t = 'pear'; step c1: COMMIT;