From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Magnus Hagander <magnus(at)hagander(dot)net> |
Cc: | Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>, "Christopher Browne *EXTERN*" <cbbrowne(at)gmail(dot)com>, "ktm(at)rice(dot)edu" <ktm(at)rice(dot)edu>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Disable OpenSSL compression |
Date: | 2011-11-09 22:26:14 |
Message-ID: | 21580.1320877574@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Magnus Hagander <magnus(at)hagander(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Kevin Grittner | 2011-11-09 22:30:21 | Re: const correctness |
Previous Message | Florian Pflug | 2011-11-09 22:24:39 | Re: const correctness |