Re: PQinitSSL broken in some use casesf - Mailing list pgsql-hackers

From Robert Haas
Subject Re: PQinitSSL broken in some use casesf
Date
Msg-id 603c8f070902131353p672636d0ldc7e16fe926cdf12@mail.gmail.com
Whole thread Raw
In response to Re: PQinitSSL broken in some use casesf  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: PQinitSSL broken in some use casesf  (Merlin Moncure <mmoncure@gmail.com>)
Re: PQinitSSL broken in some use casesf  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> BTW, the bitmask isn't perfect either --- doesn't it just reintroduce
> the problem already complained of with your idea for PQinitSSL?  That
> is, how does the client know whether the function recognized all the
> bits it passed?

Well, if we add the PQgetLibraryVersion() function I suggested
upthread, then it can check that first.  I find it difficult to
believe that isn't a good idea independently of how we solve this
particular problem.

...Robert


pgsql-hackers by date:

Previous
From: Andrew Chernow
Date:
Subject: Re: PQinitSSL broken in some use casesf
Next
From: Tom Lane
Date:
Subject: Re: [patch] fix for regression tests (locale cs_CZ)