aboutsummaryrefslogtreecommitdiff
path: root/src/test/regress/expected/transactions.out
blob: 1aa5a67c88d7af5d2a7af174cff0ed7c1655161c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
QUERY: BEGIN;
QUERY: SELECT *
   INTO TABLE xacttest
   FROM aggtest;
QUERY: INSERT INTO xacttest (a, b) VALUES (777, 777.777);
QUERY: END;
QUERY: SELECT a FROM xacttest WHERE a > 100;
  a
---
777
(1 row)

QUERY: BEGIN;
QUERY: CREATE TABLE disappear (a int4);
QUERY: DELETE FROM aggtest;
QUERY: SELECT * FROM aggtest;
a|b
-+-
(0 rows)

QUERY: ABORT;
QUERY: SELECT oid FROM pg_class WHERE relname = 'disappear';
oid
---
(0 rows)

QUERY: SELECT * FROM aggtest;
  a|      b
---+-------
 56|    7.8
100| 99.097
  0|0.09561
 42| 324.78
(4 rows)