Multiple Postgres DB hosts (pgx and POSTGRES_SEEDS related)

Hi! I’m looking for a way to set DB connection string to multiple (2) DB hosts
As I see typically POSTGRES_SEEDS accepts single host, but underlying pgx library can handle connection strings using “host1:port,host2,host3” format what would be a solution for my setup
Any ideas how it could be achieved?