pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@postgresql.org
Subject: pgsql: Introduce macros determining if a replication slot is physical o
Date: Tue, 11 Aug 2015 10:47:17 +0000
Message-ID: <E1ZP75R-0006wk-Dk@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Introduce macros determining if a replication slot is physical or logical.

These make the code a bit easier to read, and make it easier to add a
more explicit notion of a slot's type at some point in the future.

Author: Gurjeet Singh
Discussion: CABwTF4Wh_dBCzTU=49pFXR6coR4NW1ynb+vBqT+Po=7fuq5iCw@mail.gmail.com

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/093d0c83c1d210167d122da92459a0677e04ffc9

Modified Files
--------------
src/backend/replication/logical/logical.c |    4 ++--
src/backend/replication/slot.c            |    6 +++---
src/backend/replication/walsender.c       |    4 ++--
src/include/replication/slot.h            |    3 +++
4 files changed, 10 insertions(+), 7 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Message-ID: <E1ZP75R-0006wk-Dk@gemulon.postgresql.org>
Permalink:  ../E1ZP75R-0006wk-Dk@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ZP75R-0006wk-Dk@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de
  Subject: Re: pgsql: Introduce macros determining if a replication slot is physical o
  In-Reply-To: <E1ZP75R-0006wk-Dk@gemulon.postgresql.org>
  References: <E1ZP75R-0006wk-Dk@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox