forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf5af065
Fix pfree issue in presorted DISTINCT aggregate code
The logic in this area was recently changed in7da5159, however, in thatcommit, I neglected to consider that the conditions in which we shouldpfree the old Datum needed to be updated after that change. This couldresult in trying to pfree a NULL value, as was demonstrated by AlexanderLakhin.Reported-by: Alexander LakhinDiscussion:https://postgr.es/m/4103db46-d888-6d1d-e88d-87c21ed99472@gmail.com1 parentb0ef852 commitf5af065
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4254 | 4254 |
| |
4255 | 4255 |
| |
4256 | 4256 |
| |
4257 |
| - | |
| 4257 | + | |
| 4258 | + | |
4258 | 4259 |
| |
4259 | 4260 |
| |
4260 | 4261 |
| |
|
0 commit comments
Comments
(0)