postgresql/src/interfaces/libpq
Tom Lane 89ddf54fe5 Allow full SSL certificate verification (wherein libpq checks its host name
parameter against server cert's CN field) to succeed in the case where
both host and hostaddr are specified.  As with the existing precedents
for Kerberos, GSSAPI, SSPI, it is the calling application's responsibility
that host and hostaddr match up --- we just use the host name as given.
Per bug #5559 from Christopher Head.

In passing, make the error handling and messages for the no-host-name-given
failure more consistent among these four cases, and correct a lie in the
documentation: we don't attempt to reverse-lookup host from hostaddr
if host is missing.

Back-patch to 8.4 where SSL cert verification was introduced.
2010-07-14 17:09:54 +00:00
..
po Translation updates for 9.0beta3 2010-07-08 21:32:28 +00:00
.cvsignore Create two separate libpq.rc's: One that is built at build time, and one 2008-02-26 13:31:40 +00:00
bcc32.mak Assorted portability fixes for Borland C, from Pavel Golub. 2009-04-19 22:37:13 +00:00
exports.txt Introduce two new libpq connection functions, PQconnectdbParams and 2010-01-28 06:28:26 +00:00
fe-auth.c Allow full SSL certificate verification (wherein libpq checks its host name 2010-07-14 17:09:54 +00:00
fe-auth.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
fe-connect.c Make the Windows tcp keepalive support depend on the existance of the 2010-07-08 16:19:50 +00:00
fe-exec.c pgindent run for 9.0 2010-02-26 02:01:40 +00:00
fe-lobj.c Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
fe-misc.c pgindent run for 9.0, second run 2010-07-06 19:19:02 +00:00
fe-print.c Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
fe-protocol2.c Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
fe-protocol3.c Fix typo that had the code check the same thing twice. 2010-04-28 13:46:23 +00:00
fe-secure.c Allow full SSL certificate verification (wherein libpq checks its host name 2010-07-14 17:09:54 +00:00
libpq-events.c Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
libpq-events.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
libpq-fe.h pgindent run for 9.0 2010-02-26 02:01:40 +00:00
libpq-int.h Allow full SSL certificate verification (wherein libpq checks its host name 2010-07-14 17:09:54 +00:00
libpq.rc.in Stamp HEAD as 9.0devel, and update various places that were referring to 8.5 2010-02-17 04:19:41 +00:00
Makefile Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
nls.mk Translation update 2010-05-13 15:56:43 +00:00
pg_service.conf.sample Add LDAP URL documentation. 2007-09-14 14:31:22 +00:00
pqexpbuffer.c Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
pqexpbuffer.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
pqsignal.c Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
pqsignal.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
pthread-win32.c Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
README More README src cleanups. 2008-03-21 13:23:29 +00:00
win32.c Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
win32.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
win32.mak Add missing library to standalone libpq build on Win32. 2009-11-23 12:54:37 +00:00

$PostgreSQL: pgsql/src/interfaces/libpq/README,v 1.2 2008/03/21 13:23:29 momjian Exp $

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