Skip to content

Commit

Permalink
Adapt parallel_retrieve_cursor tests for reltuples=-1 (3d351d9)
Browse files Browse the repository at this point in the history
  • Loading branch information
reshke committed Sep 18, 2024
1 parent 993d11e commit 35470b1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ EXPLAIN (VERBOSE, COSTS false) DECLARE c1 PARALLEL RETRIEVE CURSOR FOR SELECT *
-- Test: Locus CdbLocusType_Strewn
EXPLAIN (VERBOSE, COSTS false) DECLARE c1 PARALLEL RETRIEVE CURSOR FOR SELECT * FROM t2;

-- Do some prepatation work in order to obtain correct `reltuples` number.
VACUUM pg_class;

-- Test for system table which is accessible on coordinator
EXPLAIN (VERBOSE, COSTS false) DECLARE c1 CURSOR FOR SELECT * FROM pg_class;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ EXPLAIN (VERBOSE, COSTS false) DECLARE c1 PARALLEL RETRIEVE CURSOR FOR SELECT *
Optimizer: Postgres query optimizer
(4 rows)

-- Do some prepatation work in order to obtain correct `reltuples` number.
VACUUM pg_class;
VACUUM

-- Test for system table which is accessible on coordinator
EXPLAIN (VERBOSE, COSTS false) DECLARE c1 CURSOR FOR SELECT * FROM pg_class;
QUERY PLAN
Expand Down

0 comments on commit 35470b1

Please sign in to comment.