Skip to content

Commit d9cacca

Browse files
committed
Finish reverting "Insert temporary debugging output in regression tests."
This removes the last of the temporary debugging queries added to the regression tests by commit f03a9ca. We've pretty much convinced ourselves that the plan instability we were seeing is due to VACUUM sometimes failing to update relpages/reltuples for a single-page table, due to bgwriter or checkpointer holding a pin on that page at just the wrong time. I'll push a workaround for that separately. Discussion: https://postgr.es/m/CA+hUKG+0CxrKRWRMf5ymN3gm+BECHna2B-q1w8onKBep4HasUw@mail.gmail.com
1 parent 4fa1d89 commit d9cacca

File tree

2 files changed

+0
-19
lines changed

2 files changed

+0
-19
lines changed

src/test/regress/expected/select_parallel.out

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -89,20 +89,6 @@ select round(avg(aa)), sum(aa) from a_star a3;
8989
14 | 355
9090
(1 row)
9191

92-
-- Temporary hack to investigate whether extra vacuum/analyze is happening
93-
select relname, relpages, reltuples
94-
from pg_class
95-
where relname like '__star' order by relname;
96-
relname | relpages | reltuples
97-
---------+----------+-----------
98-
a_star | 1 | 3
99-
b_star | 1 | 4
100-
c_star | 1 | 4
101-
d_star | 1 | 16
102-
e_star | 1 | 7
103-
f_star | 1 | 16
104-
(6 rows)
105-
10692
-- Disable Parallel Append
10793
alter table a_star reset (parallel_workers);
10894
alter table b_star reset (parallel_workers);

src/test/regress/sql/select_parallel.sql

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@ explain (costs off)
3636
select round(avg(aa)), sum(aa) from a_star;
3737
select round(avg(aa)), sum(aa) from a_star a3;
3838

39-
-- Temporary hack to investigate whether extra vacuum/analyze is happening
40-
select relname, relpages, reltuples
41-
from pg_class
42-
where relname like '__star' order by relname;
43-
4439
-- Disable Parallel Append
4540
alter table a_star reset (parallel_workers);
4641
alter table b_star reset (parallel_workers);

0 commit comments

Comments
 (0)