0.0.0.0 addresses in postgresql.conf on Windows

From: deepak <deepak(dot)pn(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: 0.0.0.0 addresses in postgresql.conf on Windows
Date: 2011-11-18 23:35:02
Message-ID: CAALYutfcxvN2bb=oToSYehCE_mK3b_jVoToNinH-MXKz2ZWh2g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi!

It appears that when I try to configure listen_addresses in postgresql.conf
(on Windows)
with '0.0.0.0' , pg_ctl doesn't properly detect that server has started and
blocks forever.

C:\pg\pgsql>bin\pg_ctl.exe -D data -w start
waiting for server to
start.....................................................
.......... stopped waiting
pg_ctl: could not start server
Examine the log output.

(although, the postgres.exe processes were started)

If I change listen_addresses to '*', then pg_ctl exits fine after starting
up.

The documentation at the following link still mentions that one could use
'0.0.0.0' to listen on
all IPv4 addresses:
http://www.postgresql.org/docs/9.1/static/runtime-config-connection.html#RUNTIME-CONFIG-CONNECTION-SETTINGS

Did something change in 9.1.1 in this area or am I missing something?

--
Deepak

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andrus 2011-11-18 23:58:26 Re: How to install latest stable postgresql on Debian
Previous Message Adrian Klaver 2011-11-18 23:31:31 Re: How to install latest stable postgresql on Debian