On 1/25/18 22:24, Craig Ringer wrote: > port.h declares inet_net_ntop and we always compile our own > from port/inet_net_ntop.c . > > But it's part of -lresolv on Linux, and more importantly, it's declared > in <inet/arpa.h>. > > Should we be using our own if the OS has it? I'm thinking of adding a > test to configure and omitting our own version if configure finds it.
ISTR that ours is hacked to produce specific output. Do the regression tests still pass if you use the one from the OS? -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services