pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
upgrade from 8.0.3 to 8.1.0
6+ messages / 6 participants
[nested] [flat]

* upgrade from 8.0.3 to 8.1.0
@ 2005-11-08 17:11 Dan The Man <bitsandbytes88@hotmail.com>
  2005-11-08 17:23 ` Re: upgrade from 8.0.3 to 8.1.0 Moises Alberto Lindo Gutarra <mlindo@gmail.com>
  2005-11-08 17:23 ` Re: upgrade from 8.0.3 to 8.1.0 Jeff Frost <jeff@frostconsultingllc.com>
  2005-11-08 17:28 ` Re: upgrade from 8.0.3 to 8.1.0 Ludek Finstrle <ludek.finstrle@pzkagis.cz>
  0 siblings, 3 replies; 6+ messages in thread

From: Dan The Man @ 2005-11-08 17:11 UTC (permalink / raw)
  To: pgsql-admin

Hi,
I have enough resources on my 3 postgresql servers to run more than one 
instance of postgres.  Is there a way to keep my production db up and 
running in 8.0.3 while I also run 8.1.0 on the same server?   Then, I could 
copy the data and support two databases until things looked good.  Then, I'd 
shutdown 8.0.3.

Thanks,
~DjK





^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: upgrade from 8.0.3 to 8.1.0
  2005-11-08 17:11 upgrade from 8.0.3 to 8.1.0 Dan The Man <bitsandbytes88@hotmail.com>
@ 2005-11-08 17:23 ` Moises Alberto Lindo Gutarra <mlindo@gmail.com>
  2005-11-09 11:57   ` Re: upgrade from 8.0.3 to 8.1.0 Rafael Martinez Guerrero <r.m.guerrero@usit.uio.no>
  2 siblings, 1 reply; 6+ messages in thread

From: Moises Alberto Lindo Gutarra @ 2005-11-08 17:23 UTC (permalink / raw)
  To: Dan The Man <bitsandbytes88@hotmail.com>; +Cc: pgsql-admin

you only need make postgres 8.1.0 run using another port, example 5438

2005/11/8, Dan The Man <bitsandbytes88@hotmail.com>:
> Hi,
> I have enough resources on my 3 postgresql servers to run more than one
> instance of postgres.  Is there a way to keep my production db up and
> running in 8.0.3 while I also run 8.1.0 on the same server?   Then, I could
> copy the data and support two databases until things looked good.  Then, I'd
> shutdown 8.0.3.
>
> Thanks,
> ~DjK
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
>               http://www.postgresql.org/docs/faq
>


--
Atte

Moises Alberto Lindo Gutarra
Consultor y Desarrollador Java / Open Source
TUMI Solutions SAC
Tel: +51.13481104
Cel: +51.197366260
MSN : mlindo@tumisolutions.com



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: upgrade from 8.0.3 to 8.1.0
  2005-11-08 17:11 upgrade from 8.0.3 to 8.1.0 Dan The Man <bitsandbytes88@hotmail.com>
  2005-11-08 17:23 ` Re: upgrade from 8.0.3 to 8.1.0 Moises Alberto Lindo Gutarra <mlindo@gmail.com>
@ 2005-11-09 11:57   ` Rafael Martinez Guerrero <r.m.guerrero@usit.uio.no>
  2005-11-09 16:00     ` Re: upgrade from 8.0.3 to 8.1.0 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 6+ messages in thread

From: Rafael Martinez Guerrero @ 2005-11-09 11:57 UTC (permalink / raw)
  To: Moises Alberto Lindo Gutarra <mlindo@gmail.com>; +Cc: Dan The Man <bitsandbytes88@hotmail.com>; pgsql-admin

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. ;)

-- 
Rafael Martinez, <r.m.guerrero@usit.uio.no>
Center for Information Technology Services
University of Oslo, Norway

PGP Public Key: http://folk.uio.no/rafael/

Attachments:

  signature.asc (application/pgp-signature, 188B) download

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: upgrade from 8.0.3 to 8.1.0
  2005-11-08 17:11 upgrade from 8.0.3 to 8.1.0 Dan The Man <bitsandbytes88@hotmail.com>
  2005-11-08 17:23 ` Re: upgrade from 8.0.3 to 8.1.0 Moises Alberto Lindo Gutarra <mlindo@gmail.com>
  2005-11-09 11:57   ` Re: upgrade from 8.0.3 to 8.1.0 Rafael Martinez Guerrero <r.m.guerrero@usit.uio.no>
@ 2005-11-09 16:00     ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2005-11-09 16:00 UTC (permalink / raw)
  To: Rafael Martinez Guerrero <r.m.guerrero@usit.uio.no>; +Cc: Moises Alberto Lindo Gutarra <mlindo@gmail.com>; Dan The Man <bitsandbytes88@hotmail.com>; pgsql-admin

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: upgrade from 8.0.3 to 8.1.0
  2005-11-08 17:11 upgrade from 8.0.3 to 8.1.0 Dan The Man <bitsandbytes88@hotmail.com>
@ 2005-11-08 17:23 ` Jeff Frost <jeff@frostconsultingllc.com>
  2 siblings, 0 replies; 6+ messages in thread

From: Jeff Frost @ 2005-11-08 17:23 UTC (permalink / raw)
  To: Dan The Man <bitsandbytes88@hotmail.com>; +Cc: pgsql-admin

Dan,

Sure, just bring it up in a different directory and have it listen on a 
different port.  You could either dump/restore to get the data over to it or 
use a replication tool such as slony or mammoth to do the deed.  The latter 
method has the benefit of keeping it up to date while you poke around if you 
have a database which gets written to during your switchover time.


On Tue, 8 Nov 2005, Dan The Man wrote:

> Hi,
> I have enough resources on my 3 postgresql servers to run more than one 
> instance of postgres.  Is there a way to keep my production db up and running 
> in 8.0.3 while I also run 8.1.0 on the same server?   Then, I could copy the 
> data and support two databases until things looked good.  Then, I'd shutdown 
> 8.0.3.

-- 
Jeff Frost, Owner 	<jeff@frostconsultingllc.com>
Frost Consulting, LLC 	http://www.frostconsultingllc.com/
Phone: 650-780-7908	FAX: 650-649-1954



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: upgrade from 8.0.3 to 8.1.0
  2005-11-08 17:11 upgrade from 8.0.3 to 8.1.0 Dan The Man <bitsandbytes88@hotmail.com>
@ 2005-11-08 17:28 ` Ludek Finstrle <ludek.finstrle@pzkagis.cz>
  2 siblings, 0 replies; 6+ messages in thread

From: Ludek Finstrle @ 2005-11-08 17:28 UTC (permalink / raw)
  To: Dan The Man <bitsandbytes88@hotmail.com>; +Cc: pgsql-admin

> instance of postgres.  Is there a way to keep my production db up and 
> running in 8.0.3 while I also run 8.1.0 on the same server?   Then, I could 

Yes. There is a way. You have to specify another location and
port for 8.1.0.

Luf



^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2005-11-09 16:00 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-11-08 17:11 upgrade from 8.0.3 to 8.1.0 Dan The Man <bitsandbytes88@hotmail.com>
2005-11-08 17:23 ` Moises Alberto Lindo Gutarra <mlindo@gmail.com>
2005-11-09 11:57   ` Rafael Martinez Guerrero <r.m.guerrero@usit.uio.no>
2005-11-09 16:00     ` Tom Lane <tgl@sss.pgh.pa.us>
2005-11-08 17:23 ` Jeff Frost <jeff@frostconsultingllc.com>
2005-11-08 17:28 ` Ludek Finstrle <ludek.finstrle@pzkagis.cz>

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