Re: listening addresses

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: listening addresses
Date: 2004-03-14 20:42:39
Message-ID: 4054C3BF.5040809@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:
>
>
>>This slipped off my radar. I have just spent a little while thinking
>>about it. How about this: we replace tcpip_socket and virtual_host with
>>a new var called listen_addresses, which can have values of "local",
>>"all", or a list of addresses? The default would be "local" and -i would
>>correspond to "all".
>>
>>
>
>No objection here. You could also allow "none" (or maybe that falls out
>of the list case by writing an empty list), with the understanding that
>"none" is a useless setting on Windows or any other platform that
>doesn't support Unix sockets.
>
>

I had thought about "none". I have no strong feelings either way,
althought you are right that it would be redundant.

On platforms without Unix domain sockets I think we should immediately
error exit without a valid tcp listening address.

I will try to get this done in the next few weeks - I think it's
critical for sensible Windows use.

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-03-14 21:00:26 Re: Log rotation
Previous Message Bruce Momjian 2004-03-14 20:42:31 Re: Log rotation

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Tom Lane 2004-03-14 21:16:05 Re: listening addresses
Previous Message Tom Lane 2004-03-14 17:45:08 Re: listening addresses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2004-03-14 21:16:05 Re: listening addresses
Previous Message Tom Lane 2004-03-14 17:45:08 Re: listening addresses