File tree Expand file tree Collapse file tree 3 files changed +10
-19
lines changed Expand file tree Collapse file tree 3 files changed +10
-19
lines changed Original file line number Diff line number Diff line change @@ -111,14 +111,8 @@ explain (costs off)
111111 Index Cond: (unique1 = 1)
112112(5 rows)
113113
114- do $$begin
115- -- Provoke error, possibly in worker. If this error happens to occur in
116- -- the worker, there will be a CONTEXT line which must be hidden.
117- perform stringu1::int2 from tenk1 where unique1 = 1;
118- exception
119- when others then
120- raise 'SQLERRM: %', sqlerrm;
121- end$$;
122- ERROR: SQLERRM: invalid input syntax for integer: "BAAAAA"
123- CONTEXT: PL/pgSQL function inline_code_block line 7 at RAISE
114+ -- provoke error in worker
115+ select stringu1::int2 from tenk1 where unique1 = 1;
116+ ERROR: invalid input syntax for integer: "BAAAAA"
117+ CONTEXT: parallel worker
124118rollback;
Original file line number Diff line number Diff line change @@ -92,7 +92,10 @@ test: brin gin gist spgist privileges init_privs security_label collate matview
9292test: alter_generic alter_operator misc psql async dbsize misc_functions
9393
9494# rules cannot run concurrently with any test that creates a view
95- test: rules psql_crosstab select_parallel amutils
95+ test: rules psql_crosstab amutils
96+
97+ # run by itself so it can run parallel workers
98+ test: select_parallel
9699
97100# ----------
98101# Another group of parallel tests
Original file line number Diff line number Diff line change @@ -44,13 +44,7 @@ set force_parallel_mode=1;
4444explain (costs off)
4545 select stringu1::int2 from tenk1 where unique1 = 1 ;
4646
47- do $$begin
48- -- Provoke error, possibly in worker. If this error happens to occur in
49- -- the worker, there will be a CONTEXT line which must be hidden.
50- perform stringu1::int2 from tenk1 where unique1 = 1 ;
51- exception
52- when others then
53- raise ' SQLERRM: %' , sqlerrm;
54- end$$;
47+ -- provoke error in worker
48+ select stringu1::int2 from tenk1 where unique1 = 1 ;
5549
5650rollback ;
You can’t perform that action at this time.
0 commit comments