diff options
author | David Rowley <drowley@postgresql.org> | 2024-01-27 11:17:35 +1300 |
---|---|---|
committer | David Rowley <drowley@postgresql.org> | 2024-01-27 11:17:35 +1300 |
commit | a3a836fb5e51183eae624d43225279306c2285b8 (patch) | |
tree | 6e6b0fd8643167a4a01d166f8254ba26e4d0c587 /contrib/test_decoding/test_decoding.c | |
parent | 5e444a2526cc6f4052ce0004e1df69135c47338a (diff) | |
download | postgresql-a3a836fb5e51183eae624d43225279306c2285b8.tar.gz postgresql-a3a836fb5e51183eae624d43225279306c2285b8.zip |
Attempt to fix newly added Memoize regression test
Both drongo and fairywren seem not to like a new regression test added
by 2cca95e17. These machines show a different number of actual rows in
the EXPLAIN ANALYZE output. Since the number of actual rows is divided by
the number of loops, I suspect this might be due to some platform
dependant rounding behavior as the total row count is 5 and the number of
loops is 2. drongo and fairywren seem to be calculating that 5.0 / 2.0 is
3, whereas most other machines think the answer is 2.
Here we tweak the test query's WHERE clause so it's 4.0 / 2.0 instead.
There shouldn't be too much wiggle room for platform dependant-behavior to
be a factor with those numbers.
Reported-by: Tom Lane
Discussion: https://postgr.es/m/1035225.1706301718%40sss.pgh.pa.us
Diffstat (limited to 'contrib/test_decoding/test_decoding.c')
0 files changed, 0 insertions, 0 deletions