Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers-win32 by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group