Introduce macros determining if a replication slot is physical or logical.
Andres Freund <andres@anarazel.de>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/replication/logical/logical.c | modified | +2 −2 |
| src/backend/replication/slot.c | modified | +3 −3 |
| src/backend/replication/walsender.c | modified | +2 −2 |
| src/include/replication/slot.h | modified | +3 −0 |