Re: [HACKERS] Another crack at doing a Win32

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: [HACKERS] Another crack at doing a Win32
Date: 2004-03-05 22:06:16
Message-ID: 4048F9D8.7030603@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-hackers-win32 pgsql-patches

Tom Lane wrote:

>Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
>
>
>>Tom Lane wrote:
>>
>>
>>>* With -i and virtual_host: bind to specified address(es) only.
>>>
>>>
>
>
>
>>Can you bind one socket to more than one address?
>>
>>
>
>Nope. That's why we have provisions to listen on more than one socket.
>I think that was implemented for virtual_host, but it'd be necessary
>anyway for dual IPv4/IPv6 support.
>
>
>

I should have read the code instead of the docs, which only talk about
one address under virtual_host, not a space separated list of them:

virtual_host (string)

Specifies the host name or IP address on which the server is to
listen for connections from client applications. The default is to
listen on all configured addresses (including localhost).

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-03-05 23:08:55 Re: IN joining
Previous Message Tom Lane 2004-03-05 21:48:58 Re: [HACKERS] Another crack at doing a Win32

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Tom Lane 2004-03-05 23:56:33 Re: [HACKERS] Another crack at doing a Win32
Previous Message Tom Lane 2004-03-05 21:48:58 Re: [HACKERS] Another crack at doing a Win32

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2004-03-05 23:56:33 Re: [HACKERS] Another crack at doing a Win32
Previous Message Tom Lane 2004-03-05 21:55:55 Re: notice about costly ri checks (2)