Consistency improvements for slot and decoding code.
authorAndres Freund <andres@anarazel.de>
Thu, 12 Jun 2014 11:23:46 +0000 (13:23 +0200)
committerAndres Freund <andres@anarazel.de>
Thu, 12 Jun 2014 11:29:19 +0000 (13:29 +0200)
commitd52a6c4944c1d83cfaae53e20561c53220e7968b
tree3d15a0a70c87f16507c9cb9bb025bb74c0c7b508
parent7f9fbb842b09da851e003a70c6c53fd8ca6c6f82
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
src/backend/access/transam/xlog.c
src/backend/replication/logical/logical.c
src/backend/replication/slot.c
src/backend/replication/slotfuncs.c
src/backend/replication/walsender.c
src/include/replication/slot.h