From 096bbf7c934a4288c9e48a6ac8e91d8753ac1ccd Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Tue, 9 Mar 2021 19:52:36 +0900 Subject: Switch back sslcompression to be a normal input field in libpq Per buildfarm member crake, any servers including a postgres_fdw server with this option set would fail to do a pg_upgrade properly as the option got hidden in f9264d1 by becoming a debug option, making the restore of the FDW server fail. This changes back the option in libpq to be visible, but still inactive to fix this upgrade issue. Discussion: https://postgr.es/m/YEbq15JKJwIX+S6m@paquier.xyz --- src/interfaces/libpq/fe-connect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/interfaces/libpq/fe-connect.c') diff --git a/src/interfaces/libpq/fe-connect.c b/src/interfaces/libpq/fe-connect.c index fed06bb038c..a294d293ebe 100644 --- a/src/interfaces/libpq/fe-connect.c +++ b/src/interfaces/libpq/fe-connect.c @@ -298,7 +298,7 @@ static const internalPQconninfoOption PQconninfoOptions[] = { * compatibility. */ {"sslcompression", NULL, NULL, NULL, - "SSL-Compression", "D", 1, -1}, + "SSL-Compression", "", 1, -1}, {"sslcert", "PGSSLCERT", NULL, NULL, "SSL-Client-Cert", "", 64, -- cgit v1.2.3