forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit79044c2
Avoid use of Perl getprotobyname
getprotobyname returns undefined on some CI machines. It's not clearwhy. The code overall still works, but it raises a warning.In PostgreSQL C code, we always call socket() with 0 for the protocolargument, so we should be able to do the same in Perl (since the Perldocumentation says that the arguments of the socket function are thesame as in C). So do that, to avoid the issue.Reviewed-by: Andrew Dunstan <andrew@dunslane.net>Discussion:https://www.postgresql.org/message-id/flat/06f899fd-1826-05ab-42d6-adeb1fd5e200%40eisentraut.org1 parent80276c0 commit79044c2
1 file changed
+1
-2
lines changedLines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1570 | 1570 |
| |
1571 | 1571 |
| |
1572 | 1572 |
| |
1573 |
| - | |
1574 | 1573 |
| |
1575 |
| - | |
| 1574 | + | |
1576 | 1575 |
| |
1577 | 1576 |
| |
1578 | 1577 |
| |
|
0 commit comments
Comments
(0)