forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf558088
committed
Remove HAVE_UNIX_SOCKETS.
Since HAVE_UNIX_SOCKETS is now defined unconditionally, remove the macroand drop a small amount of dead code.The last known systems not to have them (as far as I know at least) wereQNX, which we de-supported years ago, and Windows, which now has them.If a new OS ever shows up with the POSIX sockets API but without workingAF_UNIX, it'll presumably still be able to compile the code, and fail atruntime with an unsupported address family error. We might want toconsider adding a HINT that you should turn off the option to use it ifyour network stack doesn't support it at that point, but it doesn't seemworth making the relevant code conditional at compile time.Also adjust a couple of places in the docs and comments that referred tobuilds without Unix-domain sockets, since there aren't any. Windowsstill gets a special mention in those places, though, because we don'ttry to use them by default there yet.Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>Reviewed-by: Andres Freund <andres@anarazel.de>Reviewed-by: Peter Eisentraut <peter.eisentraut@enterprisedb.com>Discussion:https://postgr.es/m/CA%2BhUKG%2BL_3brvh%3D8e0BW_VfX9h7MtwgN%3DnFHP5o7X2oZucY9dg%40mail.gmail.com1 parente07ebd4 commitf558088
File tree
13 files changed
+12
-130
lines changed- doc/src/sgml
- ref
- src
- backend
- libpq
- postmaster
- utils/misc
- bin
- initdb
- pg_upgrade
- common
- include
- interfaces/libpq
- test/regress
13 files changed
+12
-130
lines changedLines changed: 4 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1070 | 1070 |
| |
1071 | 1071 |
| |
1072 | 1072 |
| |
1073 |
| - | |
1074 |
| - | |
1075 |
| - | |
| 1073 | + | |
| 1074 | + | |
1076 | 1075 |
| |
1077 | 1076 |
| |
1078 | 1077 |
| |
| |||
1152 | 1151 |
| |
1153 | 1152 |
| |
1154 | 1153 |
| |
1155 |
| - | |
1156 |
| - | |
| 1154 | + | |
| 1155 | + | |
1157 | 1156 |
| |
1158 | 1157 |
| |
1159 | 1158 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
656 | 656 |
| |
657 | 657 |
| |
658 | 658 |
| |
659 |
| - | |
| 659 | + | |
660 | 660 |
| |
661 | 661 |
| |
662 | 662 |
| |
|
Lines changed: 0 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
973 | 973 |
| |
974 | 974 |
| |
975 | 975 |
| |
976 |
| - | |
977 | 976 |
| |
978 |
| - | |
979 |
| - | |
980 |
| - | |
981 |
| - | |
982 |
| - | |
983 |
| - | |
984 |
| - | |
985 |
| - | |
986 |
| - | |
987 | 977 |
| |
988 | 978 |
| |
989 | 979 |
| |
|
Lines changed: 0 additions & 18 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
149 | 149 |
| |
150 | 150 |
| |
151 | 151 |
| |
152 |
| - | |
153 | 152 |
| |
154 | 153 |
| |
155 |
| - | |
156 | 154 |
| |
157 | 155 |
| |
158 | 156 |
| |
| |||
334 | 332 |
| |
335 | 333 |
| |
336 | 334 |
| |
337 |
| - | |
338 |
| - | |
339 | 335 |
| |
340 |
| - | |
341 | 336 |
| |
342 | 337 |
| |
343 | 338 |
| |
| |||
348 | 343 |
| |
349 | 344 |
| |
350 | 345 |
| |
351 |
| - | |
352 | 346 |
| |
353 | 347 |
| |
354 | 348 |
| |
| |||
369 | 363 |
| |
370 | 364 |
| |
371 | 365 |
| |
372 |
| - | |
373 | 366 |
| |
374 | 367 |
| |
375 | 368 |
| |
| |||
427 | 420 |
| |
428 | 421 |
| |
429 | 422 |
| |
430 |
| - | |
431 | 423 |
| |
432 | 424 |
| |
433 | 425 |
| |
434 |
| - | |
435 | 426 |
| |
436 | 427 |
| |
437 | 428 |
| |
| |||
441 | 432 |
| |
442 | 433 |
| |
443 | 434 |
| |
444 |
| - | |
445 | 435 |
| |
446 | 436 |
| |
447 | 437 |
| |
448 |
| - | |
449 | 438 |
| |
450 | 439 |
| |
451 | 440 |
| |
| |||
540 | 529 |
| |
541 | 530 |
| |
542 | 531 |
| |
543 |
| - | |
544 | 532 |
| |
545 | 533 |
| |
546 | 534 |
| |
| |||
549 | 537 |
| |
550 | 538 |
| |
551 | 539 |
| |
552 |
| - | |
553 | 540 |
| |
554 | 541 |
| |
555 | 542 |
| |
| |||
572 | 559 |
| |
573 | 560 |
| |
574 | 561 |
| |
575 |
| - | |
576 | 562 |
| |
577 | 563 |
| |
578 | 564 |
| |
579 | 565 |
| |
580 | 566 |
| |
581 |
| - | |
582 | 567 |
| |
583 | 568 |
| |
584 | 569 |
| |
| |||
597 | 582 |
| |
598 | 583 |
| |
599 | 584 |
| |
600 |
| - | |
601 |
| - | |
602 | 585 |
| |
603 | 586 |
| |
604 | 587 |
| |
| |||
699 | 682 |
| |
700 | 683 |
| |
701 | 684 |
| |
702 |
| - | |
703 | 685 |
| |
704 | 686 |
| |
705 | 687 |
| |
|
Lines changed: 0 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1297 | 1297 |
| |
1298 | 1298 |
| |
1299 | 1299 |
| |
1300 |
| - | |
1301 | 1300 |
| |
1302 | 1301 |
| |
1303 | 1302 |
| |
| |||
1347 | 1346 |
| |
1348 | 1347 |
| |
1349 | 1348 |
| |
1350 |
| - | |
1351 | 1349 |
| |
1352 | 1350 |
| |
1353 | 1351 |
| |
|
Lines changed: 0 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4452 | 4452 |
| |
4453 | 4453 |
| |
4454 | 4454 |
| |
4455 |
| - | |
4456 | 4455 |
| |
4457 |
| - | |
4458 |
| - | |
4459 |
| - | |
4460 | 4456 |
| |
4461 | 4457 |
| |
4462 | 4458 |
| |
|
Lines changed: 0 additions & 41 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
242 | 242 |
| |
243 | 243 |
| |
244 | 244 |
| |
245 |
| - | |
246 |
| - | |
247 |
| - | |
248 | 245 |
| |
249 | 246 |
| |
250 | 247 |
| |
| |||
418 | 415 |
| |
419 | 416 |
| |
420 | 417 |
| |
421 |
| - | |
422 |
| - | |
423 |
| - | |
424 |
| - | |
425 |
| - | |
426 |
| - | |
427 |
| - | |
428 |
| - | |
429 |
| - | |
430 |
| - | |
431 |
| - | |
432 |
| - | |
433 |
| - | |
434 |
| - | |
435 |
| - | |
436 |
| - | |
437 |
| - | |
438 |
| - | |
439 |
| - | |
440 |
| - | |
441 |
| - | |
442 |
| - | |
443 |
| - | |
444 |
| - | |
445 |
| - | |
446 |
| - | |
447 |
| - | |
448 |
| - | |
449 |
| - | |
450 |
| - | |
451 | 418 |
| |
452 | 419 |
| |
453 | 420 |
| |
| |||
1045 | 1012 |
| |
1046 | 1013 |
| |
1047 | 1014 |
| |
1048 |
| - | |
1049 | 1015 |
| |
1050 | 1016 |
| |
1051 |
| - | |
1052 |
| - | |
1053 |
| - | |
1054 | 1017 |
| |
1055 | 1018 |
| |
1056 | 1019 |
| |
| |||
1210 | 1173 |
| |
1211 | 1174 |
| |
1212 | 1175 |
| |
1213 |
| - | |
1214 |
| - | |
1215 |
| - | |
1216 | 1176 |
| |
1217 |
| - | |
1218 | 1177 |
| |
1219 | 1178 |
| |
1220 | 1179 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
444 | 444 |
| |
445 | 445 |
| |
446 | 446 |
| |
447 |
| - | |
| 447 | + | |
448 | 448 |
| |
449 | 449 |
| |
450 | 450 |
| |
| |||
490 | 490 |
| |
491 | 491 |
| |
492 | 492 |
| |
493 |
| - | |
| 493 | + | |
494 | 494 |
| |
495 | 495 |
| |
496 | 496 |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
212 | 212 |
| |
213 | 213 |
| |
214 | 214 |
| |
215 |
| - | |
| 215 | + | |
216 | 216 |
| |
217 | 217 |
| |
218 | 218 |
| |
|
Lines changed: 0 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
41 |
| - | |
42 | 41 |
| |
43 | 42 |
| |
44 | 43 |
| |
| |||
47 | 46 |
| |
48 | 47 |
| |
49 | 48 |
| |
50 |
| - | |
51 | 49 |
| |
52 | 50 |
| |
53 | 51 |
| |
| |||
62 | 60 |
| |
63 | 61 |
| |
64 | 62 |
| |
65 |
| - | |
66 | 63 |
| |
67 | 64 |
| |
68 |
| - | |
69 | 65 |
| |
70 | 66 |
| |
71 | 67 |
| |
| |||
87 | 83 |
| |
88 | 84 |
| |
89 | 85 |
| |
90 |
| - | |
91 | 86 |
| |
92 | 87 |
| |
93 | 88 |
| |
| |||
101 | 96 |
| |
102 | 97 |
| |
103 | 98 |
| |
104 |
| - | |
105 | 99 |
| |
106 | 100 |
| |
107 | 101 |
| |
| |||
126 | 120 |
| |
127 | 121 |
| |
128 | 122 |
| |
129 |
| - | |
130 | 123 |
| |
131 | 124 |
| |
132 | 125 |
| |
133 | 126 |
| |
134 | 127 |
| |
135 | 128 |
| |
136 |
| - | |
137 | 129 |
| |
138 | 130 |
| |
139 | 131 |
| |
| |||
151 | 143 |
| |
152 | 144 |
| |
153 | 145 |
| |
154 |
| - | |
155 |
| - | |
156 | 146 |
| |
157 | 147 |
| |
158 | 148 |
| |
| |||
286 | 276 |
| |
287 | 277 |
| |
288 | 278 |
| |
289 |
| - |
Lines changed: 0 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
503 | 503 |
| |
504 | 504 |
| |
505 | 505 |
| |
506 |
| - | |
507 |
| - | |
508 |
| - | |
509 | 506 |
|
0 commit comments
Comments
(0)