diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2024-03-29 10:40:31 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2024-03-29 10:40:31 -0400 |
commit | c2df2ed90a82fc0acd07ed88ac433350edfd6b54 (patch) | |
tree | a2c4de0b846604f3e5318d68b4eed6ce6e606b2c /src/backend/executor/execMain.c | |
parent | d3ae2a24f265a028f4b9e8df79ea7b075c6cf016 (diff) | |
download | postgresql-c2df2ed90a82fc0acd07ed88ac433350edfd6b54.tar.gz postgresql-c2df2ed90a82fc0acd07ed88ac433350edfd6b54.zip |
Try to stabilize flappy test result.
This recently-added test case checks the plan of an inner join
between two identical tables. It's just chance which join order
the planner will pick, and in the presence of any variation in
the underlying statistics, the displayed plan might change.
Add a WHERE condition to break the cost symmetry and hopefully
stabilize matters.
(We're still trying to understand exactly why the underlying
statistics aren't as stable as intended, but this seems like
a good change anyway, since this test would surely bite us
again in future.)
While here, clean up assorted comment spelling, grammar, and
whitespace problems.
Discussion: https://postgr.es/m/4168116.1711720146@sss.pgh.pa.us
Diffstat (limited to 'src/backend/executor/execMain.c')
0 files changed, 0 insertions, 0 deletions