]> granicus.if.org Git - postgresql/commit
Fix dangling pointer problem in ReorderBufferSerializeChange.
authorRobert Haas <rhaas@postgresql.org>
Wed, 28 Sep 2016 15:19:46 +0000 (11:19 -0400)
committerRobert Haas <rhaas@postgresql.org>
Wed, 28 Sep 2016 15:19:46 +0000 (11:19 -0400)
commit308985b0b404a5891a1a629f38cc46c2b2dcb4be
treef9b07ab0adab9c68b27037be30b2f91a1d7f0d37
parentbabe05bc2b781eb3eb84a18d7010d08277e2e399
Fix dangling pointer problem in ReorderBufferSerializeChange.

Commit 3fe3511d05127cc024b221040db2eeb352e7d716 introduced a new
case into this function, but neglected to ensure that the "ondisk"
pointer got updated after a possible reallocation as the code does
in other cases.

Stas Kelvich, per diagnosis by Konstantin Knizhnik.
src/backend/replication/logical/reorderbuffer.c