pgsql: Consistency improvements for slot and decoding code.

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Consistency improvements for slot and decoding code.
Date: 2014-06-12 11:33:37
Message-ID: E1Wv3GD-0005sg-Ed@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2014-06-12 17:13:16 pgsql: Remove unnecessary output expressions from unflattened subquerie
Previous Message Andres Freund 2014-06-12 11:32:20 pgsql: Consistency improvements for slot and decoding code.