Re: Disable OpenSSL compression

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Disable OpenSSL compression
Дата
Msg-id 21580.1320877574@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Disable OpenSSL compression  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Disable OpenSSL compression  (Noah Misch <noah@leadboat.com>)
Re: Disable OpenSSL compression  ("Albe Laurenz" <laurenz.albe@wien.gv.at>)
Список pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> On Wednesday, November 9, 2011, Albe Laurenz wrote:
>> Is the following proposal acceptable:
>> 
>> - Add a GUC ssl_compression, defaulting to "on".
>> - Add a client option "sslcompression" and an environment variable
>> PGSSLCOMPRESSION, defaulting to "1".

> Seems like the reasonable thing, yes.

A GUC is entirely, completely, 100% the wrong answer.  It has no way to
deal with the fact that some clients may need compression and others
not.

It should be a client option, full stop.  The fact that that will be
more work to implement does not make "kluge it at the server" the right
answer.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Florian Pflug
Дата:
Сообщение: Re: const correctness
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: const correctness