Re: [EXTERNAL] Re: Support load balancing in libpq

Gregory Stark (as CFM) <stark.cfm@gmail.com>

From: "Gregory Stark (as CFM)" <stark.cfm@gmail.com>
To: Jelte Fennema <postgres@jeltef.nl>
Cc: Andrey Borodin <amborodin86@gmail.com>, Greg S <stark.cfm@gmail.com>, Jacob Champion <jchampion@timescale.com>, Maxim Orlov <orlovmg@gmail.com>, Jelte Fennema <Jelte.Fennema@microsoft.com>, Michael Banck <mbanck@gmx.net>, Aleksander Alekseev <aleksander@timescale.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>, Andres Freund <andres@anarazel.de>
Date: 2023-03-14T18:05:00Z
Lists: pgsql-hackers
The pgindent run in b6dfee28f is causing this patch to need a rebase
for the cfbot to apply it.



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.