46.3. Streaming Replication Protocol Interface
The CREATE_REPLICATION_SLOT slotname LOGICAL options, DROP_REPLICATION_SLOT slotname and START_REPLICATION SLOT slotname LOGICAL options commands can be 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 Section 49.3.
The pg_recvlogical command (see pg_recvlogical) can be used to control logical decoding over a walsender connection.