On 2019/11/22 7:07, Evan Walter wrote: > Hello, > I am trying to set up streaming replication with barman, going down the tutorial. > > When I run/ I get: > > $barman receive-wal --create-slot pg > > ERROR: Cannot connect to server 'pg'
The "streaming_barman" user should be a user with replication permissions (if not already set, execute "ALTER USER streaming_barman REPLICATION") and appropriate permission granted in "pg_hba.conf":