Re: pg_hba.conf: samehost and samenet [REVIEW] - Mailing list pgsql-hackers

From Robert Haas
Subject Re: pg_hba.conf: samehost and samenet [REVIEW]
Date
Msg-id 603c8f070909271203v2e21a219u2386f763f461e2aa@mail.gmail.com
Whole thread Raw
In response to Re: pg_hba.conf: samehost and samenet [REVIEW]  (Stef Walter <stef-list@memberwebs.com>)
Responses Re: pg_hba.conf: samehost and samenet [REVIEW]
Re: pg_hba.conf: samehost and samenet [REVIEW]
List pgsql-hackers
On Thu, Sep 24, 2009 at 8:32 PM, Stef Walter <stef-list@memberwebs.com> wrote:
> Magnus Hagander wrote:
>> On Mon, Sep 21, 2009 at 20:12, Stef Walter <stef-list@memberwebs.com> wrote:
>> This patch does not build on Windows, the error is:
>> ip.obj : error LNK2019: unresolved external symbol __imp__WSAIoctl@36 referenced
>>  in function _pg_foreach_ifaddr
>> ip.obj : error LNK2019: unresolved external symbol __imp__WSASocketA@24 referenc
>> ed in function _pg_foreach_ifaddr
>> .\Release\libpq\libpq.dll : fatal error LNK1120: 2 unresolved externals
>>
>>
>> I don't have time to investigate this further right now, so if
>> somebody else want to dig into why that is happening that would be
>> helpful :)
>
> Seems there are two windows build systems. Once I discovered the MSVC
> one, and got it working, I added the required ws2 library (already used
> by other components of postgresql).
>
> Attached patch contains a fix.

So is this one Ready for Committer?

...Robert


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Linux LSB init script
Next
From: Josh Berkus
Date:
Subject: Re: Join optimization for inheritance tables