Re: [EXTERNAL] Support load balancing in libpq

Daniel Gustafsson <daniel@yesql.se>

From: Daniel Gustafsson <daniel@yesql.se>
To: Jelte Fennema <postgres@jeltef.nl>
Cc: Tatsuo Ishii <ishii@sraoss.co.jp>, "Gregory Stark (as CFM)" <stark.cfm@gmail.com>, Andrey Borodin <amborodin86@gmail.com>, Jacob Champion <jchampion@timescale.com>, Maxim Orlov <orlovmg@gmail.com>, Jelte Fennema <Jelte.Fennema@microsoft.com>, mbanck@gmx.net, aleksander@timescale.com, PostgreSQL Hackers <pgsql-hackers@postgresql.org>, andres@anarazel.de
Date: 2023-03-29T20:18:43Z
Lists: pgsql-hackers
I took another couple of looks at this and pushed it after a few small tweaks
to the docs.

--
Daniel Gustafsson




Commits

  1. Fix pointer cast for seed calculation on 32-bit systems

  2. Copy and store addrinfo in libpq-owned private memory

  3. libpq: Use modern socket flags, if available.