Does pgx support multiple host:port in database connection string? #1608
Unanswered
antonywhatever
asked this question in
Q&A
Replies: 1 comment
-
Yes. See https://pkg.go.dev/github.com/jackc/pgx/[email protected]/pgconn#ParseConfig. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Does pgx support PostgreSQL connection string like this?
postgres://node1.FQDN:5432,node2.FQDN:5432,node3.FQDN:5432/db_name?target_session_attrs=read-write
For more context, we use pgx as part of Ory Hydra.
Beta Was this translation helpful? Give feedback.
All reactions