aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_expr.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2023-08-23 20:48:48 +0200
committerPeter Eisentraut <peter@eisentraut.org>2023-08-23 20:48:48 +0200
commit01226c682ce6cc130c1057fcd5b0f24b2b622d39 (patch)
tree6944c802410e8b64a19e3f2a5fb0a0c67b08f3db /src/backend/parser/parse_expr.c
parentbf8bf6d0bddbbaa9dc6c27b383f026273064d2a2 (diff)
downloadpostgresql-01226c682ce6cc130c1057fcd5b0f24b2b622d39.tar.gz
postgresql-01226c682ce6cc130c1057fcd5b0f24b2b622d39.zip
Avoid use of Perl getprotobyname
getprotobyname returns undefined on some CI machines. It's not clear why. The code overall still works, but it raises a warning. In PostgreSQL C code, we always call socket() with 0 for the protocol argument, so we should be able to do the same in Perl (since the Perl documentation says that the arguments of the socket function are the same 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.org
Diffstat (limited to 'src/backend/parser/parse_expr.c')
0 files changed, 0 insertions, 0 deletions