FYI, I confirmed the same patch applies and works OK for tags/REL_15_BETA2.
------
[postgres@CentOS7-x64 ~]$ psql --version
psql (PostgreSQL) 15beta2
[postgres@CentOS7-x64 ~]$ psql
psql (15beta2)
Type "help" for help.
postgres=# create subscription mysub connection 'blah' publication
mypub with ( <press-tab>
BINARY COPY_DATA DISABLE_ON_ERROR SLOT_NAME
SYNCHRONOUS_COMMIT
CONNECT CREATE_SLOT ENABLED STREAMING
TWO_PHASE
postgres=# create subscription mysub connection 'blah' publication mypub with (
------
Kind Regards,
Peter Smith.
Fujitsu Australia