• Michael Paquier's avatar
    Remove support for SSL compression · f9264d15
    Michael Paquier authored
    PostgreSQL disabled compression as of e3bdb2d9 and the documentation
    recommends against using it since.  Additionally, SSL compression has
    been disabled in OpenSSL since version 1.1.0, and was disabled in many
    distributions long before that.  The most recent TLS version, TLSv1.3,
    disallows compression at the protocol level.
    
    This commit removes the feature itself, removing support for the libpq
    parameter sslcompression (parameter still listed for compatibility
    reasons with existing connection strings, just ignored), and removes
    the equivalent field in pg_stat_ssl and de facto PgBackendSSLStatus.
    
    Note that, on top of removing the ability to activate compression by
    configuration, compression is actively disabled in both frontend and
    backend to avoid overrides from local configurations.
    
    A TAP test is added for deprecated SSL parameters to check after
    backwards compatibility.
    
    Bump catalog version.
    
    Author: Daniel Gustafsson
    Reviewed-by: Peter Eisentraut, Magnus Hagander, Michael Paquier
    Discussion:  https://postgr.es/m/7E384D48-11C5-441B-9EC3-F7DB1F8518F6@yesql.se
    f9264d15
pg_proc.dat 577 KB