In message <20090511144317.gc8...@alvh.no-ip.org>, Alvaro Herrera writes:

    Magnus Hagander wrote:
    
    > Another thought: if we were to make ourselves support multiple SSL
    > libraries (that has been suggested before - at that point, people wanted
    > GnuTLS), we could also add support for Windows SChannel, which I'm sure
    > some win32 people would certainly prefer - much easier to do SSL
    > deployments within an existing MS infrastructure...
    
    If we were to support multiple libraries, would they be selected at run
    time or compile time?  If only compile time, how would it work for the
    Windows installer with the SChannel thingy --- would they have to
    distribute two separate packages, for OpenSSL and SChannel?

While I have successfully performed runtime conditional dynamic
loading inside programs (each shared library with its own list of
dependent libraries) on one platform with one selected dynamic loading
API, I cannot say I recommend it.  This would aid neither portability,
debug-ability, or performance (though compared to the overhead of SSL,
the jump table is kinda irrelevant).

                                        -Seth Robertson
                                         in-pgsql-hack...@baka.org

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to