Consistency improvements for slot and decoding code.
Change the order of checks in similar functions to be the same; remove
a parameter that's not needed anymore; rename a memory context and
expand a couple of comments.
Per review comments from Amit Kapila
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/e04a9ccd2ccd6e31cc4af6b08257a0a186d0fce8
Modified Files
--------------
src/backend/access/transam/xlog.c | 2 +-
src/backend/replication/logical/logical.c | 2 +-
src/backend/replication/slot.c | 2 +-
src/backend/replication/slotfuncs.c | 17 +++++++++++------
src/backend/replication/walsender.c | 9 +++++++--
src/include/replication/slot.h | 2 +-
6 files changed, 22 insertions(+), 12 deletions(-)