pgsql: Introduce macros determining if a replication slot is physical o - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: Introduce macros determining if a replication slot is physical o
Date
Msg-id E1ZP75R-0006wk-Dk@gemulon.postgresql.org
Whole thread Raw
List pgsql-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(-)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: Minor cleanups in slot related code.
Next
From: Andres Freund
Date:
Subject: pgsql: Minor cleanups in slot related code.