pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Rafael Martinez Guerrero <r.m.guerrero@usit.uio.no>
Cc: Moises Alberto Lindo Gutarra <mlindo@gmail.com>
Cc: Dan The Man <bitsandbytes88@hotmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: upgrade from 8.0.3 to 8.1.0
Date: Wed, 09 Nov 2005 11:00:29 -0500
Message-ID: <15950.1131552029@sss.pgh.pa.us> (raw)
In-Reply-To: <1131537444.30063.164.camel@bbking.uio.no>
References: <BAY102-F18196764A365F0F15DC6ECD1640@phx.gbl>
	<5db591c00511080923u36c20fc8u@mail.gmail.com>
	<1131537444.30063.164.camel@bbking.uio.no>

Rafael Martinez Guerrero <r.m.guerrero@usit.uio.no> writes:
> On Tue, 2005-11-08 at 18:23, Moises Alberto Lindo Gutarra wrote:
>> you only need make postgres 8.1.0 run using another port, example 5438

> Or another IP/address (listen_addresses) and the same port 5432. ;)

No, because both postmasters will try to open /tmp/.s.PGSQL.5432 ...

You could maybe make the same-port trick work if you chroot one or both
postmasters, or relocate the socket directory to someplace besides /tmp,
but either of those approaches will make life difficult for clients
trying to make local non-TCP connections.  On the whole, separate port
number is the path of least resistance in almost all cases.

			regards, tom lane



view thread (6+ messages)

Message-ID: <15950.1131552029@sss.pgh.pa.us>
Permalink:  ../15950.1131552029@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/15950.1131552029@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-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, r.m.guerrero@usit.uio.no, mlindo@gmail.com, bitsandbytes88@hotmail.com
  Subject: Re: upgrade from 8.0.3 to 8.1.0
  In-Reply-To: <15950.1131552029@sss.pgh.pa.us>
  References: <BAY102-F18196764A365F0F15DC6ECD1640@phx.gbl> <5db591c00511080923u36c20fc8u@mail.gmail.com> <1131537444.30063.164.camel@bbking.uio.no> <15950.1131552029@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