Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-hackers-win32pgsql-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

pgsql-hackers by date

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

pgsql-patches by date

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

pgsql-hackers-win32 by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group