Re: Problem binding postmaster to several interfaces - Mailing list pgsql-admin

From Milen A. Radev
Subject Re: Problem binding postmaster to several interfaces
Date
Msg-id 32c009ea0502141132140a2852@mail.gmail.com
Whole thread Raw
In response to Re: Problem binding postmaster to several interfaces  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
On Mon, 14 Feb 2005 12:14:33 -0500, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> "Milen A. Radev" <mradev@gmail.com> writes:
> > The current value of my "listen_addresses" setting is:
> > listen_addresses = '192.168.0.1, 127.0.0.1'
>
> Nothing wrong with that.
>
> > but using "netstat -tupan" I still see:
>
> > tcp        0      0 0.0.0.0:5432            0.0.0.0:*
> > LISTEN      10042/postmaster
>
> Are you by any chance using "-i" on the postmaster command line?  That
> overrides whatever you put for listen_addresses in the config file.

Yep, that was. I use custom script for supervising postmaster with
daemontools. And I failed to notice this change in the behaviour in
v8.0.

Thanks a lot.

>
>                         regards, tom lane
>



--
Milen A. Radev

pgsql-admin by date:

Previous
From: "Eugen Gass"
Date:
Subject: Trigger
Next
From: pkalva@deg.cc
Date:
Subject: Postgres crashed on invalid IP entry in pg_hba.conf