forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita3a836f
committed
Attempt to fix newly added Memoize regression test
Both drongo and fairywren seem not to like a new regression test addedby2cca95e. These machines show a different number of actual rows inthe EXPLAIN ANALYZE output. Since the number of actual rows is divided bythe number of loops, I suspect this might be due to some platformdependant rounding behavior as the total row count is 5 and the number ofloops is 2. drongo and fairywren seem to be calculating that 5.0 / 2.0 is3, 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 tobe a factor with those numbers.Reported-by: Tom LaneDiscussion:https://postgr.es/m/1035225.1706301718%40sss.pgh.pa.us1 parent5e444a2 commita3a836f
2 files changed
+8
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
117 | | - | |
| 116 | + | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
0 commit comments
Comments
(0)