summaryrefslogtreecommitdiffstats
path: root/src/test/modules/snapshot_too_old/expected/sto_using_cursor.out
blob: 06fe4d0669093078f41baa1bcc6d1c65c4d8a5e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Parsed test spec with 2 sessions

starting permutation: s1decl s1f1 s1sleep s2u s1f2
step s1decl: DECLARE cursor1 CURSOR FOR SELECT c FROM sto1;
step s1f1: FETCH FIRST FROM cursor1;
c
-
1
(1 row)

step s1sleep: SELECT setting, pg_sleep(6) FROM pg_settings WHERE name = 'old_snapshot_threshold';
setting|pg_sleep
-------+--------
      0|        
(1 row)

step s2u: UPDATE sto1 SET c = 1001 WHERE c = 1;
step s1f2: FETCH FIRST FROM cursor1;
ERROR:  snapshot too old