postgresql/src/include/libpq
Daniel Gustafsson 44d85ba5a3 Copy and store addrinfo in libpq-owned private memory
This refactors libpq to copy addrinfos returned by getaddrinfo to
memory owned by libpq such that future improvements can alter for
example the order of entries.

As a nice side effect of this refactor the mechanism for iteration
over addresses in PQconnectPoll is now identical to its iteration
over hosts.

Author: Jelte Fennema <postgres@jeltef.nl>
Reviewed-by: Aleksander Alekseev <aleksander@timescale.com>
Reviewed-by: Michael Banck <mbanck@gmx.net>
Reviewed-by: Andrey Borodin <amborodin86@gmail.com>
Discussion: https://postgr.es/m/PR3PR83MB04768E2FF04818EEB2179949F7A69@PR3PR83MB0476.EURPRD83.prod.outlook.com
2023-03-29 21:41:27 +02:00
..
auth.h Add a hook for modifying the ldapbind password 2023-03-15 16:37:28 -04:00
be-fsstubs.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
be-gssapi-common.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
crypt.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
hba.h Store IdentLine->pg_user as an AuthToken 2023-01-16 13:58:07 +09:00
ifaddr.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
libpq-be-fe-helpers.h Add helper library for use of libpq inside the server environment 2023-01-23 19:25:23 -08:00
libpq-be.h Fix handling of SCRAM-SHA-256's channel binding with RSA-PSS certificates 2023-02-15 10:12:16 +09:00
libpq-fs.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
libpq.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pqcomm.h Copy and store addrinfo in libpq-owned private memory 2023-03-29 21:41:27 +02:00
pqformat.h Change argument type of pq_sendbytes from char * to void * 2023-02-14 13:32:19 +01:00
pqmq.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pqsignal.h Retire PG_SETMASK() macro. 2023-02-03 11:29:46 +13:00
sasl.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
scram.h Make SCRAM iteration count configurable 2023-03-27 09:46:29 +02:00