Consistency improvements for slot and decoding code.

Andres Freund <andres@anarazel.de>

Commit: d52a6c4944c1d83cfaae53e20561c53220e7968b
Author: Andres Freund <andres@anarazel.de>
Date: 2014-06-12T11:29:19Z
Releases: 9.4.0
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

Files