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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 3fc6e2d) | patch
Further improvements to c8f621c43.
Mon, 7 Mar 2016 22:24:03 +0000 (14:24 -0800)
Mon, 7 Mar 2016 22:24:03 +0000 (14:24 -0800)
commit b63bea5fd3bba4d7a61c3beaba51a06f24b38da6
Further improvements to c8f621c43.

Coverity and inspection for the issue addressed in fd45d16f found some
questionable code.

Specifically coverity noticed that the wrong length was added in
ReorderBufferSerializeChange() - without immediate negative consequences
as the variable isn't used afterwards. During code-review and testing I
noticed that a bit of space was wasted when allocating tuple bufs in
several places. Thirdly, the debug memset()s in
ReorderBufferGetTupleBuf() reduce the error checking valgrind can do.

Backpatch: 9.4, like c8f621c43.
src/backend/replication/logical/decode.c diff | blob | blame | history
src/backend/replication/logical/reorderbuffer.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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