From: | Martijn van Oosterhout <kleptog(at)svana(dot)org> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | spaminos-sql(at)yahoo(dot)com, PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org> |
Subject: | Re: [GENERAL] Querying libpq compile time options |
Date: | 2006-05-13 08:55:26 |
Message-ID: | 20060513085526.GI12955@svana.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers pgsql-patches |
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(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2006-05-13 16:27:24 | Re: GUI Interface |
Previous Message | FirstDBA | 2006-05-13 07:27:28 | Re: Creating of User and Database |
From | Date | Subject | |
---|---|---|---|
Next Message | Martijn van Oosterhout | 2006-05-13 09:10:27 | Re: DH_check return value test correct? |
Previous Message | Thomas Hallgren | 2006-05-13 06:33:14 | Re: Inheritance, Primary Keys and Foreign Keys |
From | Date | Subject | |
---|---|---|---|
Next Message | Martijn van Oosterhout | 2006-05-13 19:35:09 | Re: [PATCH] Improve EXPLAIN ANALYZE overhead by sampling |
Previous Message | spaminos-sql | 2006-05-13 02:15:02 | Re: [GENERAL] Querying libpq compile time options |