libpq.dll for win32 always using ssl

From: "Tony and Bryn Reina" <reina_ga(at)hotmail(dot)com>
To: <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: libpq.dll for win32 always using ssl
Date: 2003-12-16 12:57:22
Message-ID: BAY8-DAV16FD1v2MHZl0000bbab@hotmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32

I've compiled libpq.dll for Windows including the OpenSSL functionaility. It works great, but I can't seem to turn off SSL encryption.

From what I undertand, the libpq function PQconnectdb should be able to take the option "requiressl=1". I was thinking that stating "requiressl=0" might turn off SSL; or, perhaps simply not specifying the requiressl option might turn off SSL. Neither of these seem to be the case. Can anyone help? How can I force the library not to use encryption?

Thanks.
-Tony

p.s. For what it's worth, I'm getting about a 30% speed hit with using SSL in my database queries.

Responses

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Tom Lane 2003-12-16 14:01:33 Re: fork/exec patch
Previous Message Marek Lewczuk 2003-12-16 11:56:46 Re: UTF support in WIN32 native and Lower/Upper in 7.5