Re: Disable OpenSSL compression

Bruce Momjian <bruce@momjian.us>

From: Bruce Momjian <bruce@momjian.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Albe Laurenz <laurenz.albe@wien.gv.at>, Magnus Hagander <magnus@hagander.net>, "Christopher Browne *EXTERN*" <cbbrowne@gmail.com>, ktm@rice.edu, pgsql-hackers@postgresql.org
Date: 2011-11-10T22:39:18Z
Lists: pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> writes:
> > How is the compression connection parameter set?  It seems odd for it to
> > be compiled into the application because the application could be run on
> > different networks.  I don't know of any way to inject connection
> > options from outside the application like libpq's PGOPTIONS.
> 
> Huh?  You put it in the connection string, typically.  This is not
> different from how you'd specify sslmode to start with.

Well, you are saying the client is more flexible, but if the client is a
binary, it isn't flexible without an environment variable to control it.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +