- Notifications
You must be signed in to change notification settings - Fork4.9k
Commitae9a07b
committed
Don't try to constant-fold functions returning RECORD. We were never
able to do this before, but I had tried to make an exception for functionswith OUT parameters. Michael Fuhr found one problem with it already, andI found another, which was it didn't work for strict functions with aNULL input. While both of these could be worked around, the probabilitythat there are more gotchas seems high; I think prudence dictates justreverting to the former behavior for now. Accordingly, remove the klugeadded to get_expr_result_type() for Michael's case.1 parent85884cb commitae9a07b
2 files changed
+12
-38
lines changedLines changed: 11 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
2200 | 2200 |
| |
2201 | 2201 |
| |
2202 | 2202 |
| |
2203 |
| - | |
2204 |
| - | |
2205 |
| - | |
| 2203 | + | |
| 2204 | + | |
| 2205 | + | |
| 2206 | + | |
| 2207 | + | |
| 2208 | + | |
| 2209 | + | |
| 2210 | + | |
| 2211 | + | |
2206 | 2212 |
| |
2207 |
| - | |
2208 |
| - | |
2209 |
| - | |
| 2213 | + | |
2210 | 2214 |
| |
2211 | 2215 |
| |
2212 | 2216 |
| |
|
Lines changed: 1 addition & 31 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
235 | 235 |
| |
236 | 236 |
| |
237 | 237 |
| |
238 |
| - | |
239 |
| - | |
240 |
| - | |
241 |
| - | |
242 |
| - | |
243 |
| - | |
244 |
| - | |
245 |
| - | |
246 |
| - | |
247 |
| - | |
248 |
| - | |
249 |
| - | |
250 |
| - | |
251 |
| - | |
252 |
| - | |
253 |
| - | |
254 |
| - | |
255 |
| - | |
256 |
| - | |
257 |
| - | |
258 |
| - | |
259 |
| - | |
260 |
| - | |
261 |
| - | |
262 |
| - | |
263 |
| - | |
264 |
| - | |
265 |
| - | |
266 |
| - | |
267 |
| - | |
268 | 238 |
| |
269 | 239 |
| |
270 | 240 |
| |
|
0 commit comments
Comments
(0)