pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig Ringer <ringerc@ringerc.id.au>
To: Robert Young <yayooo@gmail.com>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: Andres Freund <andres@anarazel.de>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Add statistics_collector_listen_addresses to fix hard-coding of "localhost"
Date: Thu, 10 Nov 2011 10:17:39 +0800
Message-ID: <4EBB3443.2020709@ringerc.id.au> (raw)
In-Reply-To: <CAJjz_NjT_yH9TEju1fNhkCfXLLKR9d9p57wUi=rzEbuWk46xww@mail.gmail.com>
References: <CAJjz_NiGct3iLipCk9JC2TY5u+u9A0CzvH64zys+V=nYSG-zUw@mail.gmail.com>
	<201111091648.pA9GmXK23629@momjian.us>
	<CAJjz_NjT_yH9TEju1fNhkCfXLLKR9d9p57wUi=rzEbuWk46xww@mail.gmail.com>

On 10/11/11 02:24, Robert Young wrote:
> Sure! It give the right information to workaround the problem.
> But as I said:
> On Fri, Oct 28, 2011 at 07:11, Robert Young <yayooo@gmail.com> wrote:
>> 2.hard-coding is NOT configurable, that is the problem must be aided
>> from OUTSIDE of the system to workaround.
>>
> And
> On Tue, Nov 1, 2011 at 08:04, Robert Young <yayooo@gmail.com> wrote:
>> Database should be functional without underlying hostname or DNS facility.

Why?

Should it also be functional without sockets?

How about without a file system?

Without an OS?


PostgreSQL is an application running on an OS, and expects to be able to
use the basic services of that OS. Those services include local DNS
resolution of local host names. Every OS since Windows 3.1.1, Mac OS 7,
and early BSD UNIXes has provided local DNS resolution and loopback
sockets. Why should PostgreSQL accomodate the lack of them? If it
should, where does it stop accomodating broken and cut-down OSes?

If you want an embedded database for an extremely cut down OS,
PostgreSQL isn't particularly suitable for a lot of reasons. For any
other use case there's no reason to expect local DNS resolution to be
broken.

--
Craig Ringer




view thread (47+ messages)  latest in thread

Message-ID: <4EBB3443.2020709@ringerc.id.au>
Permalink:  ../4EBB3443.2020709@ringerc.id.au/
Also on:    postgresql.org/message-id/4EBB3443.2020709@ringerc.id.au

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: ringerc@ringerc.id.au, yayooo@gmail.com, bruce@momjian.us, andres@anarazel.de
  Subject: Re: Add statistics_collector_listen_addresses to fix hard-coding of "localhost"
  In-Reply-To: <4EBB3443.2020709@ringerc.id.au>
  References: <CAJjz_NiGct3iLipCk9JC2TY5u+u9A0CzvH64zys+V=nYSG-zUw@mail.gmail.com> <201111091648.pA9GmXK23629@momjian.us> <CAJjz_NjT_yH9TEju1fNhkCfXLLKR9d9p57wUi=rzEbuWk46xww@mail.gmail.com> <4EBB3443.2020709@ringerc.id.au>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox