If i test the connections on command line - they work fine.
but when barman runs (e.g. barman check ) it will throw that error in the logs
on command line- .. works
$ psql "host=pg17-db01.ocp-prod-1.ch-dc.lan,pg17-db02.ocp-prod-1.ch-dc.lan,pg17-db04.ocp-prod-1.ch-drp.lan port=5430 user=streaming_barman dbname=postgres target_session_attrs=standby"
When barman runs - it will fail
2026-07-27 00:59:02,757 [296769] barman.backup_executor WARNING: Could not validate compression due to a problem with the PostgreSQL connection: invalid target_session_attrs value: "standby"