libpq can now talk to either 3.0 or 2.0 protocol servers. It first tries

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 6bdb7aa4db5571c83c87f5f761d4af4bc73e166e
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-06-08T17:43:00Z
Releases: 7.4.1
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.)

Files