]> granicus.if.org Git - postgresql/commit
Code review for connection timeout patch. Avoid unportable assumption
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 24 Oct 2002 23:35:55 +0000 (23:35 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 24 Oct 2002 23:35:55 +0000 (23:35 +0000)
commit2908a838ac2cf8cdccaa115249f8399eef8a731e
tree9e13a675ebed1067b03210497142542ca8a378af
parentbd19e8f60488c1861b43f20931e64fe0468d309a
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.
src/interfaces/libpq/fe-connect.c
src/interfaces/libpq/fe-misc.c