Skip to content

How to use TLS authentication with multiple hosts in connection url? #1544

Answered by jackc
Sireax asked this question in Q&A
Discussion options

You must be logged in to vote

Multiple hosts get converted to fallback configs. See https://pkg.go.dev/github.com/jackc/pgx/[email protected]/pgconn#FallbackConfig. You can specify different tsl configs for each.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Sireax
Comment options

@jackc
Comment options

@Sireax
Comment options

Answer selected by Sireax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants