pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
To: Robert Young <yayooo@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Alvaro Herrera <alvherre@commandprompt.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: robertmhaas@gmail.com
Cc: GavinFlower <gavinflower@archidevsys.co.nz>
Cc: Pg Bugs <pgsql-bugs@postgresql.org>
Subject: Re: Add statistics_collector_listen_addresses to fix hard-coding of "localhost"
Date: Fri, 28 Oct 2011 19:03:46 +0300
Message-ID: <4EAAD262.1010309@enterprisedb.com> (raw)
In-Reply-To: <CAJjz_Ngz4nCZwpV=PM73eH01SbUsH3z+Ew9ZuaNp+pkM0NCNWA@mail.gmail.com>
References: <CAJjz_Nhxdkr-0kx9F+VCTub1_kiXPyo5M-9v8Dn7N7y7PEPsXg@mail.gmail.com>
	<201110271412.02896.andres@anarazel.de>
	<CAJjz_NgWTo_VEhk2os_S1cbXRojP1dZfYozMWSHuH_BU918SpQ@mail.gmail.com>
	<4EA958F0.8050402@enterprisedb.com>
	<28326.1319726536@sss.pgh.pa.us>
	<CAJjz_Njvc5o9XLQmqWS9yuq2=cNJGiW5ma+ABV=5cXg9GyJorw@mail.gmail.com>
	<1319809042-sup-2773@alvh.no-ip.org>
	<CAJjz_Ngp8a7pZj5PDngpKbc+gUd2Pxum-qADOhBYuAJO93FOYQ@mail.gmail.com>
	<1319813588-sup-9035@alvh.no-ip.org>
	<23407.1319814054@sss.pgh.pa.us>
	<CAJjz_NhxGxp5kaW=rzWMPEQxPSDE2+Fi-BDSL1FjEixAULGrwg@mail.gmail.com>
	<CAJjz_Ngz4nCZwpV=PM73eH01SbUsH3z+Ew9ZuaNp+pkM0NCNWA@mail.gmail.com>

On 28.10.2011 18:40, Robert Young wrote:
> Which wrong?
> 1.I got no money to buy a good machine to run both the services and database.
> 2.I got no money to buy a good machine to run both the services and
> client applications.
> 3.Client applications hard-coding "localhost".
> 4.PG hard-coding "localhost".

#3. Fix the applications to not hard-code "localhost". The difference 
between #3 and #4 is that PostgreSQL really genuinely always does mean 
to connect to the local host, while #3 actually wants to connect to some 
other host, but it was not made configurable.

-- 
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com



view thread (47+ messages)  latest in thread

Message-ID: <4EAAD262.1010309@enterprisedb.com>
Permalink:  ../4EAAD262.1010309@enterprisedb.com/
Also on:    postgresql.org/message-id/4EAAD262.1010309@enterprisedb.com

 · 

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: heikki.linnakangas@enterprisedb.com, yayooo@gmail.com, tgl@sss.pgh.pa.us, alvherre@commandprompt.com, andres@anarazel.de, robertmhaas@gmail.com, gavinflower@archidevsys.co.nz
  Subject: Re: Add statistics_collector_listen_addresses to fix hard-coding of "localhost"
  In-Reply-To: <4EAAD262.1010309@enterprisedb.com>
  References: <CAJjz_Nhxdkr-0kx9F+VCTub1_kiXPyo5M-9v8Dn7N7y7PEPsXg@mail.gmail.com> <201110271412.02896.andres@anarazel.de> <CAJjz_NgWTo_VEhk2os_S1cbXRojP1dZfYozMWSHuH_BU918SpQ@mail.gmail.com> <4EA958F0.8050402@enterprisedb.com> <28326.1319726536@sss.pgh.pa.us> <CAJjz_Njvc5o9XLQmqWS9yuq2=cNJGiW5ma+ABV=5cXg9GyJorw@mail.gmail.com> <1319809042-sup-2773@alvh.no-ip.org> <CAJjz_Ngp8a7pZj5PDngpKbc+gUd2Pxum-qADOhBYuAJO93FOYQ@mail.gmail.com> <1319813588-sup-9035@alvh.no-ip.org> <23407.1319814054@sss.pgh.pa.us> <CAJjz_NhxGxp5kaW=rzWMPEQxPSDE2+Fi-BDSL1FjEixAULGrwg@mail.gmail.com> <CAJjz_Ngz4nCZwpV=PM73eH01SbUsH3z+Ew9ZuaNp+pkM0NCNWA@mail.gmail.com> <4EAAD262.1010309@enterprisedb.com>

* 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