=?UTF-8?B?Um9tYW4gxaBpbmRlbMOhxZk=?= <roman.sindelar@gmail.com> writes:
> - ALTER SUBSCRIPTION ... REFRESH cannot be executed from a function in all
> PGSQL versions 14+, is it desired behavior?
It's intentional to get some other benefits, if that's what you mean.
See
https://git.postgresql.org/gitweb/?p=postgresql.git&a=commitdiff&h=ce0fdbfe972
regards, tom lane