Thread: pgsql-server/src/interfaces/libpq fe-connect.c ...

pgsql-server/src/interfaces/libpq fe-connect.c ...

From
tgl@postgresql.org (Tom Lane)
Date:
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    tgl@postgresql.org    02/10/24 19:35:56

Modified files:
    src/interfaces/libpq: fe-connect.c fe-misc.c

Log message:
    Code review for connection timeout patch.  Avoid unportable assumption
    that tv_sec is signed; return a useful error message on timeout failure;
    honor PGCONNECT_TIMEOUT environment variable in PQsetdbLogin; make code
    obey documentation statement that timeout=0 means no timeout.