postgresql/src/interfaces/libpq
Tom Lane f0256c774d Support tcp_keepalives_idle option on Solaris.
Turns out that the socket option for this is named TCP_KEEPALIVE_THRESHOLD,
at least according to the tcp(7P) man page for Solaris 11.  (But since that
text refers to "SunOS", it's likely pretty ancient.)  It appears that the
symbol TCP_KEEPALIVE does get defined on that platform, but it doesn't
seem to represent a valid protocol-level socket option.  This leads to
bleats in the postmaster log, and no tcp_keepalives_idle functionality.

Per bug #14720 from Andrey Lizenko, as well as an earlier report from
Dhiraj Chawla that nobody had followed up on.  The issue's been there
since we added the TCP_KEEPALIVE code path in commit 5acd417c8, so
back-patch to all supported branches.

Discussion: https://postgr.es/m/20170627163757.25161.528@wrigleys.postgresql.org
2017-06-27 18:47:57 -04:00
..
po Translation updates 2017-05-15 12:19:54 -04:00
test Fix script name in README. 2017-06-09 12:05:03 +03:00
.gitignore Add missing erand48.c to libpq/.gitignore. 2017-04-20 16:31:28 -04:00
exports.txt Add PQencryptPasswordConn function to libpq, use it in psql and createuser. 2017-05-03 11:19:07 +03:00
fe-auth-scram.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
fe-auth.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
fe-auth.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
fe-connect.c Support tcp_keepalives_idle option on Solaris. 2017-06-27 18:47:57 -04:00
fe-exec.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
fe-lobj.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
fe-misc.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
fe-print.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
fe-protocol2.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
fe-protocol3.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
fe-secure-openssl.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
fe-secure.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
libpq-events.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
libpq-events.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
libpq-fe.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
libpq-int.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
libpq.rc.in Update manual set of copyright files for 2017 2017-01-03 13:45:17 -05:00
Makefile Add newly-symlinked files to "make clean" target. 2017-04-08 14:25:45 -04:00
nls.mk Translation updates 2016-05-09 10:04:41 -04:00
pg_service.conf.sample Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
pqexpbuffer.c Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
pqexpbuffer.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
pthread-win32.c Remove useless duplicate inclusions of system header files. 2017-02-25 16:12:55 -05:00
README Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
win32.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
win32.h Remove support for bcc and msvc standalone libpq builds 2017-04-11 15:22:21 +02:00

src/interfaces/libpq/README

This directory contains the C version of Libpq, the POSTGRES frontend library.