46.3. Streaming Replication Protocol Interface

The CREATE_REPLICATION_SLOT slot_name LOGICAL options, DROP_REPLICATION_SLOT slot_name and START_REPLICATION SLOT slot_name 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.