Skip to content

Commit efdbad2

Browse files
committed
Fix some answer file for parallel schedule in pax
1 parent 66efcd5 commit efdbad2

21 files changed

Lines changed: 462 additions & 357 deletions

contrib/pax_storage/src/test/regress/expected/copydml.out

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ ERROR: DO INSTEAD NOTHING rules are not supported for COPY
3838
drop rule qqq on copydml_test;
3939
create rule qqq as on insert to copydml_test do also delete from copydml_test;
4040
copy (insert into copydml_test default values) to stdout;
41-
ERROR: DO ALSO rules are not supported for the COPY
41+
ERROR: DO ALSO rules are not supported for COPY
4242
drop rule qqq on copydml_test;
4343
create rule qqq as on insert to copydml_test do instead (delete from copydml_test; delete from copydml_test);
4444
copy (insert into copydml_test default values) to stdout;
@@ -54,7 +54,7 @@ ERROR: DO INSTEAD NOTHING rules are not supported for COPY
5454
drop rule qqq on copydml_test;
5555
create rule qqq as on update to copydml_test do also delete from copydml_test;
5656
copy (update copydml_test set t = 'f') to stdout;
57-
ERROR: DO ALSO rules are not supported for the COPY
57+
ERROR: DO ALSO rules are not supported for COPY
5858
drop rule qqq on copydml_test;
5959
create rule qqq as on update to copydml_test do instead (delete from copydml_test; delete from copydml_test);
6060
copy (update copydml_test set t = 'f') to stdout;
@@ -70,7 +70,7 @@ ERROR: DO INSTEAD NOTHING rules are not supported for COPY
7070
drop rule qqq on copydml_test;
7171
create rule qqq as on delete to copydml_test do also insert into copydml_test default values;
7272
copy (delete from copydml_test) to stdout;
73-
ERROR: DO ALSO rules are not supported for the COPY
73+
ERROR: DO ALSO rules are not supported for COPY
7474
drop rule qqq on copydml_test;
7575
create rule qqq as on delete to copydml_test do instead (insert into copydml_test default values; insert into copydml_test default values);
7676
copy (delete from copydml_test) to stdout;

contrib/pax_storage/src/test/regress/expected/copyselect.out

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,13 +133,23 @@ ERROR: division by zero
133133
copy (select 1) to stdout\; copy (select 2) to stdout\; select 0\; select 3; -- 1 2 3
134134
1
135135
2
136+
?column?
137+
----------
138+
0
139+
(1 row)
140+
136141
?column?
137142
----------
138143
3
139144
(1 row)
140145

141146
create table test3 (c int);
142147
select 0\; copy test3 from stdin\; copy test3 from stdin\; select 1; -- 1
148+
?column?
149+
----------
150+
0
151+
(1 row)
152+
143153
?column?
144154
----------
145155
1

contrib/pax_storage/src/test/regress/expected/create_index.out

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2268,11 +2268,9 @@ WHERE classid = 'pg_class'::regclass AND
22682268
index concur_reindex_ind3 | column c1 of table concur_reindex_tab | a
22692269
index concur_reindex_ind4 | column c1 of table concur_reindex_tab | a
22702270
index concur_reindex_ind4 | column c2 of table concur_reindex_tab | a
2271-
materialized view concur_reindex_matview | access method pax | n
22722271
materialized view concur_reindex_matview | schema public | n
2273-
table concur_reindex_tab | access method pax | n
22742272
table concur_reindex_tab | schema public | n
2275-
(10 rows)
2273+
(8 rows)
22762274

22772275
REINDEX INDEX concur_reindex_ind1;
22782276
REINDEX TABLE concur_reindex_tab;
@@ -2299,11 +2297,9 @@ WHERE classid = 'pg_class'::regclass AND
22992297
index concur_reindex_ind3 | column c1 of table concur_reindex_tab | a
23002298
index concur_reindex_ind4 | column c1 of table concur_reindex_tab | a
23012299
index concur_reindex_ind4 | column c2 of table concur_reindex_tab | a
2302-
materialized view concur_reindex_matview | access method pax | n
23032300
materialized view concur_reindex_matview | schema public | n
2304-
table concur_reindex_tab | access method pax | n
23052301
table concur_reindex_tab | schema public | n
2306-
(10 rows)
2302+
(8 rows)
23072303

23082304
-- Check that comments are preserved
23092305
CREATE TABLE testcomment (i int);
@@ -2461,13 +2457,11 @@ WHERE classid = 'pg_class'::regclass AND
24612457
table concur_reindex_part | schema public | n
24622458
table concur_reindex_part_0 | schema public | n
24632459
table concur_reindex_part_0 | table concur_reindex_part | a
2464-
table concur_reindex_part_0_1 | access method pax | n
24652460
table concur_reindex_part_0_1 | schema public | n
24662461
table concur_reindex_part_0_1 | table concur_reindex_part_0 | a
2467-
table concur_reindex_part_0_2 | access method pax | n
24682462
table concur_reindex_part_0_2 | schema public | n
24692463
table concur_reindex_part_0_2 | table concur_reindex_part_0 | a
2470-
(21 rows)
2464+
(19 rows)
24712465

24722466
REINDEX INDEX concur_reindex_part_index_0_1;
24732467
REINDEX INDEX concur_reindex_part_index_0_2;
@@ -2515,13 +2509,11 @@ WHERE classid = 'pg_class'::regclass AND
25152509
table concur_reindex_part | schema public | n
25162510
table concur_reindex_part_0 | schema public | n
25172511
table concur_reindex_part_0 | table concur_reindex_part | a
2518-
table concur_reindex_part_0_1 | access method pax | n
25192512
table concur_reindex_part_0_1 | schema public | n
25202513
table concur_reindex_part_0_1 | table concur_reindex_part_0 | a
2521-
table concur_reindex_part_0_2 | access method pax | n
25222514
table concur_reindex_part_0_2 | schema public | n
25232515
table concur_reindex_part_0_2 | table concur_reindex_part_0 | a
2524-
(21 rows)
2516+
(19 rows)
25252517

25262518
SELECT relid, parentrelid, level FROM pg_partition_tree('concur_reindex_part_index')
25272519
ORDER BY relid, level;

0 commit comments

Comments
 (0)