aboutsummaryrefslogtreecommitdiff
path: root/src/backend/nodes/copyfuncs.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2016-03-06 16:27:20 -0800
committerAndres Freund <andres@anarazel.de>2016-03-06 16:27:20 -0800
commitfd45d16f6212df15821684b231a44448389fb002 (patch)
tree515d3bf2061b93997198c86ff54ea0d7d4fc5f31 /src/backend/nodes/copyfuncs.c
parentb3e05097e58051a7816ed734074fd76345687e0c (diff)
downloadpostgresql-fd45d16f6212df15821684b231a44448389fb002.tar.gz
postgresql-fd45d16f6212df15821684b231a44448389fb002.zip
Fix wrong allocation size in c8f621c43.
In c8f621c43 I forgot to account for MAXALIGN when allocating a new tuplebuf in ReorderBufferGetTupleBuf(). That happens to currently not cause active problems on a number of platforms because the affected pointer is already aligned, but others, like ppc and hppa, trigger this in the regression test, due to a debug memset clearing memory. Fix that. Backpatch: 9.4, like the previous commit.
Diffstat (limited to 'src/backend/nodes/copyfuncs.c')
0 files changed, 0 insertions, 0 deletions