CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: tgl@svr1.postgresql.org 03/06/08 17:43:00
Modified files:
src/backend/libpq: ip.c pqcomm.c
src/include/libpq: ip.h
src/interfaces/libpq: Makefile fe-auth.c fe-connect.c fe-exec.c
fe-misc.c fe-secure.c libpq-fe.h
libpq-int.h
Added files:
src/interfaces/libpq: fe-protocol2.c fe-protocol3.c
Log message:
libpq can now talk to either 3.0 or 2.0 protocol servers. It first tries
protocol 3, then falls back to 2 if postmaster rejects the startup packet
with an old-format error message. A side benefit of the rewrite is that
SSL-encrypted connections can now be made without blocking. (I think,
anyway, but do not have a good way to test.)