Skip to content

Support for load balancing using environment variable PGLOADBALANCEHOSTS=random #3593

Answered by wolfgangwalther
mkleczek asked this question in Q&A
Discussion options

You must be logged in to vote

The static executable / docker image uses libpq v16: nix/overlays/postgresql-libpq.nix

The dynamically linked release artifacts ofc use whatever is installed.

You might be right that load balancing actually works - but it would have worked before already (assuming you had libpq 16). I don't think anyone tried, though.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@mkleczek
Comment options

@wolfgangwalther
Comment options

Answer selected by mkleczek
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