forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc424d0d
committed
Remove redundant code for getnameinfo() replacement
Our getnameinfo() replacement implementation in getaddrinfo.c failedunless NI_NUMERICHOST and NI_NUMERICSERV were given as flags, becauseit doesn't resolve host names, only numeric IPs. But per standard,when those flags are not given, an implementation can still degrade tonot returning host names, so this restriction is unnecessary. When weremove it, we can eliminate some code in postmaster.c that apparentlytried to work around that.1 parente1e6069 commitc424d0d
2 files changed
+6
-18
lines changedLines changed: 6 additions & 13 deletions
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 |
| |
|
Lines changed: 0 additions & 5 deletions
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
Comments
(0)