forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit793beab
committed
Prevent generating EEOP_AGG_STRICT_INPUT_CHECK operations when nargs == 0.
This only became a problem with4c640f4, which didn't synchronizethe value agg_strict_input_check.nargs is set to, with the guardcondition for emitting the operation.Besides such instructions being unnecessary overhead, currently theLLVM JIT provider doesn't support them. It seems more sensible toavoid generating such instruction than supporting them. Add assertionsto make it easier to debug a potential further occurance.Discussion:https://postgr.es/m/2a505161-2727-2473-7c46-591ed108ac52@email.czBackpatch: 11-, like4c640f4.1 parent4c640f4 commit793beab
2 files changed
+3
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3023 | 3023 |
| |
3024 | 3024 |
| |
3025 | 3025 |
| |
3026 |
| - | |
| 3026 | + | |
3027 | 3027 |
| |
3028 | 3028 |
| |
3029 | 3029 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2124 | 2124 |
| |
2125 | 2125 |
| |
2126 | 2126 |
| |
| 2127 | + | |
| 2128 | + | |
2127 | 2129 |
| |
2128 | 2130 |
| |
2129 | 2131 |
| |
|
0 commit comments
Comments
(0)