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
Showing
- src/backend/replication/logical/logical.c 2 additions, 2 deletionssrc/backend/replication/logical/logical.c
- src/backend/replication/slot.c 3 additions, 3 deletionssrc/backend/replication/slot.c
- src/backend/replication/walsender.c 2 additions, 2 deletionssrc/backend/replication/walsender.c
- src/include/replication/slot.h 3 additions, 0 deletionssrc/include/replication/slot.h
Loading
Please register or sign in to comment