forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitfb3ea04
committed
Fix wrong allocation size inc8f621c.
Inc8f621c I forgot to account for MAXALIGN when allocating a newtuplebuf in ReorderBufferGetTupleBuf(). That happens to currently notcause active problems on a number of platforms because the affectedpointer is already aligned, but others, like ppc and hppa, trigger thisin the regression test, due to a debug memset clearing memory.Fix that.Backpatch: 9.4, like the previous commit.1 parent3fa4715 commitfb3ea04
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
481 | 481 |
| |
482 | 482 |
| |
483 | 483 |
| |
484 |
| - | |
| 484 | + | |
| 485 | + | |
485 | 486 |
| |
486 | 487 |
| |
487 | 488 |
| |
|
0 commit comments
Comments
(0)