Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 639AE1337B80 for ; Thu, 4 Nov 2010 14:24:28 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 51064-08 for ; Thu, 4 Nov 2010 17:24:21 +0000 (UTC) Received: from news.hub.org (news.hub.org [200.46.204.72]) by mail.postgresql.org (Postfix) with ESMTP id D4F9F1337B82 for ; Thu, 4 Nov 2010 14:24:20 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.14.4/8.14.4) with ESMTP id oA4HOKP3008221 for ; Thu, 4 Nov 2010 14:24:20 -0300 (ADT) (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.14.4/8.14.4/Submit) id oA4H83bQ084888 for pgsql-admin@postgresql.org; Thu, 4 Nov 2010 14:08:03 -0300 (ADT) (envelope-from news) From: Chris Browne X-Newsgroups: pgsql.admin Subject: Re: 2 PGSQL instances in the same server Date: Thu, 04 Nov 2010 12:38:03 -0400 Organization: cbbrowne Computing Inc Lines: 35 Message-ID: <87lj59rqms.fsf@cbbrowne.afilias-int.info> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@news.hub.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:T4sh0moaIffhj+9Dj2mnJL6ZHyE= To: pgsql-admin@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201011/29 X-Sequence-Number: 35995 rbarreca@gmail.com (Ramiro Barreca) writes: > We need to have, for migration, either an instance of our actual PG 8.4.4 and a > new one of PG 9.0 for testing. > Where can we found a paper for helping us? > Our platform is Centos 5.4 x86 64 bits The "complication" to this is that it is quite likely not simple to do this using pre-packaged (e.g. - RPM files) Postgres builds. Anyone that's involved with building Postgres tends to have tooling handy to help have multiple versions of Postgres around. I have a script I use for this sort of thing: Greg Smith has something analagous, though more sophisticated: It amounts to: 1. Installing both versions of software; 2. Possibly using scripts to help manage where the results get installed. If you're accustomed to entrusting installation totally to RPM-based installations of Postgres, you're headed into new territory to have to choose and configure where the installations are done. But it's really no big deal - it's not unusual for me to install several different instances of Postgres in the course of an hour, refreshing some instances I use to test Slony-I. -- output = ("cbbrowne" "@" "linuxfinances.info") "In the free software world, a rising tide DOES lift all boats, and once the user has tasted Unix it's easy for them to switch between Unices." -- david parsons