Introduce macros determining if a replication slot is physical or logical.
authorAndres Freund <andres@anarazel.de>
Tue, 11 Aug 2015 10:32:48 +0000 (12:32 +0200)
committerAndres Freund <andres@anarazel.de>
Tue, 11 Aug 2015 10:32:48 +0000 (12:32 +0200)
commit093d0c83c1d210167d122da92459a0677e04ffc9
tree11784342960a18a5c75bad85a864adca143513e8
parent3b425b7c02ccdabe3fb3a538d9174273a15f1e2e
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
src/backend/replication/logical/logical.c
src/backend/replication/slot.c
src/backend/replication/walsender.c
src/include/replication/slot.h