Andreas Pflug <pgadmin@pse-consulting.de> writes:
> Larry Rosenman wrote:
>> Here's a quickie patch I did to fix it.
> Patching this or not, if the function's called the backend will SEGV
> either (at least on my 2.4.20 it does) because a IPV6 address is copied
> in the memory space of a IPV4 address.
I fixed that yesterday.
The s_addr name collision is unfortunate, but easily worked around;
fix committed as suggested by Larry.
regards, tom lane