Code review for logical decoding patch.

Robert Haas <rhaas@postgresql.org>

Commit: f1d8dd3647fd0c87f0fb238f7cfc45c1ce282a55
Author: Robert Haas <rhaas@postgresql.org>
Date: 2014-05-09T14:44:04Z
Releases: 9.4.0
Code review for logical decoding patch.

Post-commit review identified a number of places where addition was
used instead of multiplication or memory wasn't zeroed where it should
have been.  This commit also fixes one case where a structure member
was mis-initialized, and moves another memory allocation closer to
the place where the allocated storage is used for clarity.

Andres Freund

Files