Code review for logical decoding patch.
Robert Haas <rhaas@postgresql.org>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/replication/logical/reorderbuffer.c | modified | +5 −8 |
| src/backend/replication/logical/snapbuild.c | modified | +5 −6 |