pgsql: Tweak TCP-keepalive code so that an invalid setting doesn't cause

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Tweak TCP-keepalive code so that an invalid setting doesn't cause
Date: 2005-09-12 02:26:33
Message-ID: 20050912022633.06069D85D7@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Tweak TCP-keepalive code so that an invalid setting doesn't cause us
to drop connections unceremoniously. Also some other marginal cleanups:
don't query getsockopt() repeatedly if it fails, and avoid having the
apparent definition of struct Port depend on which system headers you
might have included or not. Oliver Jowett and Tom Lane.

Modified Files:
--------------
pgsql/src/backend/libpq:
pqcomm.c (r1.178 -> r1.179)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/libpq/pqcomm.c.diff?r1=1.178&r2=1.179)
pgsql/src/backend/utils/misc:
guc.c (r1.287 -> r1.288)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/misc/guc.c.diff?r1=1.287&r2=1.288)
postgresql.conf.sample (r1.165 -> r1.166)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/misc/postgresql.conf.sample.diff?r1=1.165&r2=1.166)
pgsql/src/include/libpq:
libpq-be.h (r1.50 -> r1.51)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/libpq/libpq-be.h.diff?r1=1.50&r2=1.51)

Browse pgsql-committers by date

  From Date Subject
Next Message Neil Conway 2005-09-12 05:10:14 pgsql: Add a few items to the release notes, and make a few more minor
Previous Message Neil Conway 2005-09-11 23:40:34 pgsql: Many small improvements and copy edits to the release notes.