pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@commandprompt.com>
Cc: Robert Young <yayooo@gmail.com>
Cc: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Cc: Andres Freund <andres@anarazel.de>
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 11:00:54 -0400
Message-ID: <23407.1319814054@sss.pgh.pa.us> (raw)
In-Reply-To: <1319813588-sup-9035@alvh.no-ip.org>
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>

Alvaro Herrera <alvherre@commandprompt.com> writes:
> Excerpts from Robert Young's message of vie oct 28 11:47:14 -0300 2011:
>> I just migrate some services from one machine to another but database
>> stay there.
>> So, I think the most simple solution is to change “localhost” point to
>> the new one, so that I need no modification of client applications.
>> But found PG gave warnings.

> I'm surprised that your conclusion was that the path of least resistance
> was submitting a patch to Postgres.  Surely patching the apps would have
> been a lot easier.

The fundamental problem with that kluge (and yes, it's a kluge) is that
it supposes that you migrated EVERY local service to the other machine.
Which, obviously, you did not.

			regards, tom lane



view thread (47+ messages)  latest in thread

Message-ID: <23407.1319814054@sss.pgh.pa.us>
Permalink:  ../23407.1319814054@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/23407.1319814054@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, alvherre@commandprompt.com, yayooo@gmail.com, heikki.linnakangas@enterprisedb.com, andres@anarazel.de, gavinflower@archidevsys.co.nz
  Subject: Re: Add statistics_collector_listen_addresses to fix hard-coding of "localhost"
  In-Reply-To: <23407.1319814054@sss.pgh.pa.us>
  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>

* 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