pgsql: Code review for logical decoding patch.
pgsql: 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 Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/f1d8dd3647fd0c87f0fb238f7cfc45c1ce282a55 Modified Files -------------- src/backend/replication/logical/reorderbuffer.c | 13 +++++-------- src/backend/replication/logical/snapbuild.c | 11 +++++------ 2 files changed, 10 insertions(+), 14 deletions(-)