forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite152661
committed
Fixes:
It's bug in nodeAgg.c on lines 241, 242: null_array = malloc(nagg); for (i=0;i<nagg;i++) null_array[i] = 'n'; oneTuple = heap_formtuple(tupType, tupValue, null_array);- your query has not only aggregates but also 'group by-ed' fields and sonull_array should contain tupType->natts elements (tupType->natts > nagg inyour case).Patch follows and it's very simple.VAdim1 parentc471d2b commite152661
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
238 | 238 |
| |
239 | 239 |
| |
240 | 240 |
| |
241 |
| - | |
242 |
| - | |
| 241 | + | |
| 242 | + | |
243 | 243 |
| |
244 | 244 |
| |
245 | 245 |
| |
|
0 commit comments
Comments
(0)