Re: [GENERAL] Querying libpq compile time options
От | Martijn van Oosterhout |
---|---|
Тема | Re: [GENERAL] Querying libpq compile time options |
Дата | |
Msg-id | 20060513085526.GI12955@svana.org обсуждение исходный текст |
Ответ на | Re: [GENERAL] Querying libpq compile time options (Bruce Momjian <pgman@candle.pha.pa.us>) |
Ответы |
Re: [GENERAL] Querying libpq compile time options
|
Список | pgsql-hackers |
On Fri, May 12, 2006 at 08:38:07PM -0400, Bruce Momjian wrote: > Is this like detecting of libpq is SSL-enabled? I see PQgetssl(). Do > we need to add a libpq function to return true/false for threading? > Slony requires a threaded libpq, so it could do the test to prevent > wrong configurations. It would be nice to enabled threading by default, > but it is like SSL in that not all operating systems support it. PQgetssl() doesn't tell you if SSL is supported, it tells you if the *current connection* is using OpenSSL, which is similar but not the same. There is AFAIK no way to tell if SSL support is compiled in. Part of the patch I posted for GnuTLS support answered this question also (PQgettlsinfo()). Have a ncie day, -- Martijn van Oosterhout <kleptog@svana.org> http://svana.org/kleptog/ > From each according to his ability. To each according to his ability to litigate.
В списке pgsql-hackers по дате отправления: