Consistency improvements for slot and decoding code.
Andres Freund <andres@anarazel.de>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/access/transam/xlog.c | modified | +1 −1 |
| src/backend/replication/logical/logical.c | modified | +1 −1 |
| src/backend/replication/slot.c | modified | +1 −1 |
| src/backend/replication/slotfuncs.c | modified | +11 −6 |
| src/backend/replication/walsender.c | modified | +7 −2 |
| src/include/replication/slot.h | modified | +1 −1 |