summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavan Deolasee2017-08-25 11:35:25 +0000
committerPavan Deolasee2017-08-25 11:35:25 +0000
commitac9acad61206769c52e29d408788988af2e12fc1 (patch)
tree282a9c414977e18f008948992be884685c99a790
parent571d63a41a14aead42d0ea905b35d2d574821dc4 (diff)
Do not try to set invalid value for guc
We don't support subtransactions and hence can't handle exception thrown by trying to set invalid value. We'd already removed the exception, but the transaction was being left in an aborted state. So fix this. The test case still fails for some other reason which should be investigated separately.
-rw-r--r--src/test/regress/expected/select_parallel.out8
-rw-r--r--src/test/regress/sql/select_parallel.sql8
2 files changed, 8 insertions, 8 deletions
diff --git a/src/test/regress/expected/select_parallel.out b/src/test/regress/expected/select_parallel.out
index 4392a3ada3..ef57a7a7e2 100644
--- a/src/test/regress/expected/select_parallel.out
+++ b/src/test/regress/expected/select_parallel.out
@@ -201,10 +201,10 @@ set enable_hashjoin to off;
set enable_mergejoin to off;
set enable_material to off;
-- test prefetching, if the platform allows it
-DO $$
-BEGIN
- SET effective_io_concurrency = 50;
-END $$;
+--DO $$
+--BEGIN
+-- SET effective_io_concurrency = 50;
+--END $$;
set work_mem='64kB'; --set small work mem to force lossy pages
explain (costs off)
select count(*) from tenk1, tenk2 where tenk1.hundred > 1 and tenk2.thousand=0;
diff --git a/src/test/regress/sql/select_parallel.sql b/src/test/regress/sql/select_parallel.sql
index cbc94ac89f..4474df6925 100644
--- a/src/test/regress/sql/select_parallel.sql
+++ b/src/test/regress/sql/select_parallel.sql
@@ -75,10 +75,10 @@ set enable_hashjoin to off;
set enable_mergejoin to off;
set enable_material to off;
-- test prefetching, if the platform allows it
-DO $$
-BEGIN
- SET effective_io_concurrency = 50;
-END $$;
+--DO $$
+--BEGIN
+-- SET effective_io_concurrency = 50;
+--END $$;
set work_mem='64kB'; --set small work mem to force lossy pages
explain (costs off)
select count(*) from tenk1, tenk2 where tenk1.hundred > 1 and tenk2.thousand=0;