Commit c424d0d
committed
Remove redundant code for getnameinfo() replacement
Our getnameinfo() replacement implementation in getaddrinfo.c failed
unless NI_NUMERICHOST and NI_NUMERICSERV were given as flags, because
it doesn't resolve host names, only numeric IPs. But per standard,
when those flags are not given, an implementation can still degrade to
not returning host names, so this restriction is unnecessary. When we
remove it, we can eliminate some code in postmaster.c that apparently
tried to work around that.1 parent e1e6069 commit c424d0d
2 files changed
+6
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3437 | 3437 | | |
3438 | 3438 | | |
3439 | 3439 | | |
| 3440 | + | |
3440 | 3441 | | |
3441 | 3442 | | |
3442 | 3443 | | |
| |||
3498 | 3499 | | |
3499 | 3500 | | |
3500 | 3501 | | |
3501 | | - | |
| 3502 | + | |
3502 | 3503 | | |
3503 | 3504 | | |
3504 | | - | |
3505 | | - | |
3506 | | - | |
3507 | | - | |
3508 | | - | |
3509 | | - | |
3510 | | - | |
3511 | | - | |
3512 | | - | |
3513 | | - | |
3514 | | - | |
3515 | | - | |
| 3505 | + | |
| 3506 | + | |
| 3507 | + | |
| 3508 | + | |
3516 | 3509 | | |
3517 | 3510 | | |
3518 | 3511 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
373 | 373 | | |
374 | 374 | | |
375 | 375 | | |
376 | | - | |
377 | | - | |
378 | | - | |
379 | | - | |
380 | | - | |
381 | 376 | | |
382 | 377 | | |
383 | 378 | | |
| |||
0 commit comments