git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: b3e0509) | patch
Fix wrong allocation size in c8f621c43.
Mon, 7 Mar 2016 00:27:20 +0000 (16:27 -0800)
Mon, 7 Mar 2016 00:27:20 +0000 (16:27 -0800)
commit fd45d16f6212df15821684b231a44448389fb002
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.
src/backend/replication/logical/reorderbuffer.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /