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

Re: PGSTAT start failure probably shouldn't disable Postgres

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: PGSTAT start failure probably shouldn't disable Postgres
Date: 2002-03-30 20:36:18
Message-ID: 200203302036.g2UKaIL24136@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Tom Lane wrote:
> We've seen several reports now of 7.2 postmasters failing to start
> because of weird networking setups --- if it's impossible to create
> a loopback UDP port on 127.0.0.1, 7.2 will exit with
> 	PGSTAT: bind(2): Cannot assign requested address
> 
> It occurs to me that a more friendly behavior would be to disable
> statistics gathering and proceed with startup anyway.  Any objections?

Agreed.  Throw an elog(LOG) and continue.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

In response to

pgsql-hackers by date

Next:From: Greg CopelandDate: 2002-03-30 20:55:13
Subject: Re: Posix AIO in new Red Hat Linux
Previous:From: Tom LaneDate: 2002-03-30 19:32:51
Subject: Re: timeout implementation issues

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