forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf9264d1
committed
Remove support for SSL compression
PostgreSQL disabled compression as ofe3bdb2d and the documentationrecommends against using it since. Additionally, SSL compression hasbeen disabled in OpenSSL since version 1.1.0, and was disabled in manydistributions 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 libpqparameter sslcompression (parameter still listed for compatibilityreasons with existing connection strings, just ignored), and removesthe equivalent field in pg_stat_ssl and de facto PgBackendSSLStatus.Note that, on top of removing the ability to activate compression byconfiguration, compression is actively disabled in both frontend andbackend to avoid overrides from local configurations.A TAP test is added for deprecated SSL parameters to check afterbackwards compatibility.Bump catalog version.Author: Daniel GustafssonReviewed-by: Peter Eisentraut, Magnus Hagander, Michael PaquierDiscussion:https://postgr.es/m/7E384D48-11C5-441B-9EC3-F7DB1F8518F6@yesql.se1 parentd4545dc commitf9264d1
File tree
19 files changed
+60
-112
lines changed- contrib/postgres_fdw
- expected
- sql
- doc/src/sgml
- src
- backend
- catalog
- libpq
- postmaster
- utils
- adt
- init
- bin/psql
- include
- catalog
- libpq
- interfaces/libpq
- test
- regress/expected
- ssl/t
19 files changed
+60
-112
lines changedLines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
163 | 163 |
| |
164 | 164 |
| |
165 | 165 |
| |
166 |
| - | |
167 | 166 |
| |
168 | 167 |
| |
169 | 168 |
| |
| |||
8946 | 8945 |
| |
8947 | 8946 |
| |
8948 | 8947 |
| |
8949 |
| - | |
| 8948 | + | |
8950 | 8949 |
| |
8951 | 8950 |
| |
8952 | 8951 |
| |
|
Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
177 | 177 |
| |
178 | 178 |
| |
179 | 179 |
| |
180 |
| - | |
181 | 180 |
| |
182 | 181 |
| |
183 | 182 |
| |
|
Lines changed: 2 additions & 31 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1635 | 1635 |
| |
1636 | 1636 |
| |
1637 | 1637 |
| |
1638 |
| - | |
1639 |
| - | |
1640 |
| - | |
1641 |
| - | |
1642 |
| - | |
1643 |
| - | |
1644 |
| - | |
1645 |
| - | |
1646 |
| - | |
1647 |
| - | |
1648 |
| - | |
1649 |
| - | |
1650 |
| - | |
1651 |
| - | |
1652 |
| - | |
1653 |
| - | |
1654 |
| - | |
1655 |
| - | |
| 1638 | + | |
1656 | 1639 |
| |
1657 | 1640 |
| |
1658 | 1641 |
| |
| |||
2545 | 2528 |
| |
2546 | 2529 |
| |
2547 | 2530 |
| |
2548 |
| - | |
2549 |
| - | |
2550 |
| - | |
| 2531 | + | |
2551 | 2532 |
| |
2552 | 2533 |
| |
2553 | 2534 |
| |
| |||
7182 | 7163 |
| |
7183 | 7164 |
| |
7184 | 7165 |
| |
7185 |
| - | |
7186 |
| - | |
7187 |
| - | |
7188 |
| - | |
7189 |
| - | |
7190 |
| - | |
7191 |
| - | |
7192 |
| - | |
7193 |
| - | |
7194 |
| - | |
7195 | 7166 |
| |
7196 | 7167 |
| |
7197 | 7168 |
| |
|
Lines changed: 0 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3065 | 3065 |
| |
3066 | 3066 |
| |
3067 | 3067 |
| |
3068 |
| - | |
3069 |
| - | |
3070 |
| - | |
3071 |
| - | |
3072 |
| - | |
3073 |
| - | |
3074 |
| - | |
3075 |
| - | |
3076 |
| - | |
3077 |
| - | |
3078 | 3068 |
| |
3079 | 3069 |
| |
3080 | 3070 |
| |
|
Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
863 | 863 |
| |
864 | 864 |
| |
865 | 865 |
| |
866 |
| - | |
867 | 866 |
| |
868 | 867 |
| |
869 | 868 |
| |
|
Lines changed: 3 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
245 | 245 |
| |
246 | 246 |
| |
247 | 247 |
| |
| 248 | + | |
| 249 | + | |
| 250 | + | |
248 | 251 |
| |
249 | 252 |
| |
250 | 253 |
| |
| |||
1182 | 1185 |
| |
1183 | 1186 |
| |
1184 | 1187 |
| |
1185 |
| - | |
1186 |
| - | |
1187 |
| - | |
1188 |
| - | |
1189 |
| - | |
1190 |
| - | |
1191 |
| - | |
1192 |
| - | |
1193 |
| - | |
1194 | 1188 |
| |
1195 | 1189 |
| |
1196 | 1190 |
| |
|
Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3215 | 3215 |
| |
3216 | 3216 |
| |
3217 | 3217 |
| |
3218 |
| - | |
3219 | 3218 |
| |
3220 | 3219 |
| |
3221 | 3220 |
| |
|
Lines changed: 17 additions & 19 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
569 | 569 |
| |
570 | 570 |
| |
571 | 571 |
| |
572 |
| - | |
| 572 | + | |
573 | 573 |
| |
574 | 574 |
| |
575 | 575 |
| |
| |||
708 | 708 |
| |
709 | 709 |
| |
710 | 710 |
| |
711 |
| - | |
| 711 | + | |
712 | 712 |
| |
713 | 713 |
| |
714 | 714 |
| |
| |||
745 | 745 |
| |
746 | 746 |
| |
747 | 747 |
| |
748 |
| - | |
749 |
| - | |
| 748 | + | |
| 749 | + | |
750 | 750 |
| |
751 | 751 |
| |
752 | 752 |
| |
| |||
875 | 875 |
| |
876 | 876 |
| |
877 | 877 |
| |
878 |
| - | |
879 | 878 |
| |
880 | 879 |
| |
881 |
| - | |
| 880 | + | |
882 | 881 |
| |
883 |
| - | |
| 882 | + | |
884 | 883 |
| |
885 | 884 |
| |
886 |
| - | |
| 885 | + | |
887 | 886 |
| |
888 | 887 |
| |
889 | 888 |
| |
890 | 889 |
| |
891 |
| - | |
| 890 | + | |
892 | 891 |
| |
893 | 892 |
| |
894 |
| - | |
| 893 | + | |
895 | 894 |
| |
896 |
| - | |
| 895 | + | |
897 | 896 |
| |
898 | 897 |
| |
899 | 898 |
| |
900 | 899 |
| |
901 |
| - | |
| 900 | + | |
902 | 901 |
| |
903 | 902 |
| |
904 | 903 |
| |
905 | 904 |
| |
906 | 905 |
| |
907 |
| - | |
908 |
| - | |
909 |
| - | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
910 | 909 |
| |
911 | 910 |
| |
912 | 911 |
| |
913 |
| - | |
914 |
| - | |
915 |
| - | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
916 | 915 |
| |
917 | 916 |
| |
918 | 917 |
| |
| |||
942 | 941 |
| |
943 | 942 |
| |
944 | 943 |
| |
945 |
| - | |
946 | 944 |
| |
947 | 945 |
| |
948 | 946 |
| |
|
Lines changed: 2 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
264 | 264 |
| |
265 | 265 |
| |
266 | 266 |
| |
267 |
| - | |
| 267 | + | |
268 | 268 |
| |
269 | 269 |
| |
270 |
| - | |
271 |
| - | |
| 270 | + | |
272 | 271 |
| |
273 | 272 |
| |
274 | 273 |
| |
|
Lines changed: 2 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3509 | 3509 |
| |
3510 | 3510 |
| |
3511 | 3511 |
| |
3512 |
| - | |
3513 | 3512 |
| |
3514 | 3513 |
| |
3515 | 3514 |
| |
3516 | 3515 |
| |
3517 | 3516 |
| |
3518 | 3517 |
| |
3519 | 3518 |
| |
3520 |
| - | |
3521 | 3519 |
| |
3522 |
| - | |
| 3520 | + | |
3523 | 3521 |
| |
3524 | 3522 |
| |
3525 |
| - | |
3526 |
| - | |
| 3523 | + | |
3527 | 3524 |
| |
3528 | 3525 |
| |
3529 | 3526 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
56 |
| - | |
| 56 | + | |
57 | 57 |
| |
58 | 58 |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5249 | 5249 |
| |
5250 | 5250 |
| |
5251 | 5251 |
| |
5252 |
| - | |
5253 |
| - | |
5254 |
| - | |
| 5252 | + | |
| 5253 | + | |
| 5254 | + | |
5255 | 5255 |
| |
5256 | 5256 |
| |
5257 | 5257 |
| |
|
Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
266 | 266 |
| |
267 | 267 |
| |
268 | 268 |
| |
269 |
| - | |
270 | 269 |
| |
271 | 270 |
| |
272 | 271 |
| |
|
Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1135 | 1135 |
| |
1136 | 1136 |
| |
1137 | 1137 |
| |
1138 |
| - | |
1139 | 1138 |
| |
1140 | 1139 |
| |
1141 | 1140 |
| |
|
Lines changed: 6 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
293 | 293 |
| |
294 | 294 |
| |
295 | 295 |
| |
296 |
| - | |
297 |
| - | |
298 |
| - | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
299 | 302 |
| |
300 | 303 |
| |
301 | 304 |
| |
| |||
4080 | 4083 |
| |
4081 | 4084 |
| |
4082 | 4085 |
| |
4083 |
| - | |
4084 |
| - | |
4085 | 4086 |
| |
4086 | 4087 |
| |
4087 | 4088 |
| |
|
Lines changed: 7 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1257 | 1257 |
| |
1258 | 1258 |
| |
1259 | 1259 |
| |
1260 |
| - | |
1261 |
| - | |
1262 |
| - | |
1263 |
| - | |
1264 |
| - | |
1265 |
| - | |
1266 |
| - | |
| 1260 | + | |
| 1261 | + | |
1267 | 1262 |
| |
1268 | 1263 |
| |
1269 | 1264 |
| |
| |||
1553 | 1548 |
| |
1554 | 1549 |
| |
1555 | 1550 |
| |
| 1551 | + | |
| 1552 | + | |
| 1553 | + | |
| 1554 | + | |
1556 | 1555 |
| |
1557 |
| - | |
| 1556 | + | |
1558 | 1557 |
| |
1559 | 1558 |
| |
1560 | 1559 |
| |
|
Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
360 | 360 |
| |
361 | 361 |
| |
362 | 362 |
| |
363 |
| - | |
364 | 363 |
| |
365 | 364 |
| |
366 | 365 |
| |
|
0 commit comments
Comments
(0)