index 9697ace16a516effb7671e056e60ab7a66a216d5..c0b08649e8d8b4543e47384a2a2975f590151ec7 100644 (file)
-- This should fail, because the two transactions have a write-skew anomaly
INSERT INTO pxtest1 VALUES ('fff');
ERROR: could not serialize access due to read/write dependencies among transactions
-DETAIL: Canceled on identification as a pivot, during write.
+DETAIL: Reason code: Canceled on identification as a pivot, during write.
HINT: The transaction might succeed if retried.
PREPARE TRANSACTION 'foo5';
SELECT gid FROM pg_prepared_xacts;