pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix wrong allocation size in c8f621c43. 3+ messages / 1 participants [nested] [flat]
* pgsql: Fix wrong allocation size in c8f621c43. @ 2016-03-07 00:30 Andres Freund <andres@anarazel.de> 0 siblings, 0 replies; 3+ messages in thread From: Andres Freund @ 2016-03-07 00:30 UTC (permalink / raw) To: pgsql-committers 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. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/fd45d16f6212df15821684b231a44448389fb002 Modified Files -------------- src/backend/replication/logical/reorderbuffer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Fix wrong allocation size in c8f621c43. @ 2016-03-07 00:30 Andres Freund <andres@anarazel.de> 0 siblings, 0 replies; 3+ messages in thread From: Andres Freund @ 2016-03-07 00:30 UTC (permalink / raw) To: pgsql-committers 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. Branch ------ REL9_5_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/5d1826fe76e9c82ec938edf054c2e3de52f5285c Modified Files -------------- src/backend/replication/logical/reorderbuffer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Fix wrong allocation size in c8f621c43. @ 2016-03-07 00:30 Andres Freund <andres@anarazel.de> 0 siblings, 0 replies; 3+ messages in thread From: Andres Freund @ 2016-03-07 00:30 UTC (permalink / raw) To: pgsql-committers 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. Branch ------ REL9_4_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/fb3ea0465c1710c565e98d4b3e37aebb4e487eaf Modified Files -------------- src/backend/replication/logical/reorderbuffer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2016-03-07 00:30 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2016-03-07 00:30 pgsql: Fix wrong allocation size in c8f621c43. Andres Freund <andres@anarazel.de> 2016-03-07 00:30 pgsql: Fix wrong allocation size in c8f621c43. Andres Freund <andres@anarazel.de> 2016-03-07 00:30 pgsql: Fix wrong allocation size in c8f621c43. Andres Freund <andres@anarazel.de>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox