aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2021-03-09 19:52:36 +0900
committerMichael Paquier <michael@paquier.xyz>2021-03-09 19:52:36 +0900
commit096bbf7c934a4288c9e48a6ac8e91d8753ac1ccd (patch)
tree2d86b33d88c6af53b051437b666506db8ce41ed8 /src
parentff99918c625a84c91e7391db9032112ec8653623 (diff)
downloadpostgresql-096bbf7c934a4288c9e48a6ac8e91d8753ac1ccd.tar.gz
postgresql-096bbf7c934a4288c9e48a6ac8e91d8753ac1ccd.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/libpq/fe-connect.c2
1 files changed, 1 insertions, 1 deletions
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,