Revert "Stabilize test of BRIN parallel create"
authorTomas Vondra <[email protected]>
Wed, 17 Apr 2024 14:12:03 +0000 (16:12 +0200)
committerTomas Vondra <[email protected]>
Wed, 17 Apr 2024 14:12:06 +0000 (16:12 +0200)
This reverts commit 4d916dd876c3. The goal of that commit was to
stabilize a test of parallel BRIN build, but using a TEMPORARY table
disables parallel index builds on that table, making the test useless.

Discussion: https://postgr.es/m/95d9cd43-5a92-407c-b7e4-54cd303630fe%40enterprisedb.com

contrib/pageinspect/expected/brin.out
contrib/pageinspect/sql/brin.sql

index e59451af4b2f7d0d24a259245d86c08521a1af23..67c3549a1241752ef0ec372de32b52bb623836fc 100644 (file)
@@ -109,7 +109,7 @@ SELECT (COUNT(*) = (SELECT relpages FROM pg_class WHERE relname = 'test2')) AS r
 DROP TABLE test1;
 DROP TABLE test2;
 -- Test that parallel index build produces the same BRIN index as serial build.
-CREATE TEMPORARY TABLE brin_parallel_test (a int, b text, c bigint) WITH (fillfactor=40);
+CREATE TABLE brin_parallel_test (a int, b text, c bigint) WITH (fillfactor=40);
 -- Generate a table with a mix of NULLs and non-NULL values (and data suitable
 -- for the different opclasses we build later).
 INSERT INTO brin_parallel_test
index ac375a427d16042b68897094e0e3b271948f4fb0..a25969d58f06dfa9ef9b304c4fa1d2ee4ce3da74 100644 (file)
@@ -56,7 +56,7 @@ DROP TABLE test1;
 DROP TABLE test2;
 
 -- Test that parallel index build produces the same BRIN index as serial build.
-CREATE TEMPORARY TABLE brin_parallel_test (a int, b text, c bigint) WITH (fillfactor=40);
+CREATE TABLE brin_parallel_test (a int, b text, c bigint) WITH (fillfactor=40);
 
 -- Generate a table with a mix of NULLs and non-NULL values (and data suitable
 -- for the different opclasses we build later).