Can you connect remotely from the standby using psql?
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных