The commands
CREATE_REPLICATION_SLOT
slot_name
LOGICAL output_plugin
DROP_REPLICATION_SLOT
[ slot_name
WAIT
]
START_REPLICATION SLOT
slot_name
LOGICAL ...
are used to create, drop, and stream changes from a replication slot, respectively. These commands are only available over a replication connection; they cannot be used via SQL. See 53.4 for details on these commands.
コマンドpg_recvlogicalを使ってストリーミングコネクション上のロジカルデコーディングを制御できます(このコマンドは内部で上記のコマンドを使っています)。