aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/postgresql/patches/alter_table.out.patch
blob: 5b5418ce4e2ebf242fc09681885987d2ea7d6d9e (plain) (blame)
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
--- alter_table.out	(40977c8f0a0a339864b620914542e2d90392919b)
+++ alter_table.out	(8a1083b9b852a7dbb540208bd92787ee92f311f7)
@@ -2671,7 +2671,8 @@ create table alterlock (f1 int primary key, f2 text);
 insert into alterlock values (1, 'foo');
 create table alterlock2 (f3 int primary key, f1 int);
 insert into alterlock2 values (1, 1);
-begin; alter table alterlock alter column f2 set statistics 150;
+begin;
+alter table alterlock alter column f2 set statistics 150;
 select * from my_locks order by 1;
   relname  |       max_lockmode       
 -----------+--------------------------
@@ -2679,7 +2680,8 @@ select * from my_locks order by 1;
 (1 row)
 
 rollback;
-begin; alter table alterlock cluster on alterlock_pkey;
+begin;
+alter table alterlock cluster on alterlock_pkey;
 select * from my_locks order by 1;
     relname     |       max_lockmode       
 ----------------+--------------------------
@@ -2688,7 +2690,8 @@ select * from my_locks order by 1;
 (2 rows)
 
 commit;
-begin; alter table alterlock set without cluster;
+begin;
+alter table alterlock set without cluster;
 select * from my_locks order by 1;
   relname  |       max_lockmode       
 -----------+--------------------------
@@ -2696,7 +2699,8 @@ select * from my_locks order by 1;
 (1 row)
 
 commit;
-begin; alter table alterlock set (fillfactor = 100);
+begin;
+alter table alterlock set (fillfactor = 100);
 select * from my_locks order by 1;
   relname  |       max_lockmode       
 -----------+--------------------------
@@ -2705,7 +2709,8 @@ select * from my_locks order by 1;
 (2 rows)
 
 commit;
-begin; alter table alterlock reset (fillfactor);
+begin;
+alter table alterlock reset (fillfactor);
 select * from my_locks order by 1;
   relname  |       max_lockmode       
 -----------+--------------------------
@@ -2714,7 +2719,8 @@ select * from my_locks order by 1;
 (2 rows)
 
 commit;
-begin; alter table alterlock set (toast.autovacuum_enabled = off);
+begin;
+alter table alterlock set (toast.autovacuum_enabled = off);
 select * from my_locks order by 1;
   relname  |       max_lockmode       
 -----------+--------------------------
@@ -2723,7 +2729,8 @@ select * from my_locks order by 1;
 (2 rows)
 
 commit;
-begin; alter table alterlock set (autovacuum_enabled = off);
+begin;
+alter table alterlock set (autovacuum_enabled = off);
 select * from my_locks order by 1;
   relname  |       max_lockmode       
 -----------+--------------------------
@@ -2732,7 +2739,8 @@ select * from my_locks order by 1;
 (2 rows)
 
 commit;
-begin; alter table alterlock alter column f2 set (n_distinct = 1);
+begin;
+alter table alterlock alter column f2 set (n_distinct = 1);
 select * from my_locks order by 1;
   relname  |       max_lockmode       
 -----------+--------------------------
@@ -2741,7 +2749,8 @@ select * from my_locks order by 1;
 
 rollback;
 -- test that mixing options with different lock levels works as expected
-begin; alter table alterlock set (autovacuum_enabled = off, fillfactor = 80);
+begin;
+alter table alterlock set (autovacuum_enabled = off, fillfactor = 80);
 select * from my_locks order by 1;
   relname  |       max_lockmode       
 -----------+--------------------------
@@ -2750,7 +2759,8 @@ select * from my_locks order by 1;
 (2 rows)
 
 commit;
-begin; alter table alterlock alter column f2 set storage extended;
+begin;
+alter table alterlock alter column f2 set storage extended;
 select * from my_locks order by 1;
   relname  |    max_lockmode     
 -----------+---------------------
@@ -2758,7 +2768,8 @@ select * from my_locks order by 1;
 (1 row)
 
 rollback;
-begin; alter table alterlock alter column f2 set default 'x';
+begin;
+alter table alterlock alter column f2 set default 'x';
 select * from my_locks order by 1;
   relname  |    max_lockmode     
 -----------+---------------------