pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Aaron Bono <postgresql@aranya.com>
To: Spiegelberg, Greg <gspiegelberg@cranel.com>
Cc: kitaeda <kitaeda@infoeye.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: *** How can I install two postgresqls in the same machine? *****
Date: Fri, 14 Jul 2006 12:43:24 -0500
Message-ID: <bf05e51c0607141043o7c4e98bid659ebd767fb57ca@mail.gmail.com> (raw)
In-Reply-To: <82E74D266CB9B44390D3CCE44A781ED90126C421@POSTOFFICE.cranel.local>
References: <82E74D266CB9B44390D3CCE44A781ED90126C421@POSTOFFICE.cranel.local>

On 7/14/06, Spiegelberg, Greg <gspiegelberg@cranel.com> wrote:
>
>
> We've also wrapped the psql command with our own script which takes a
> database name as a parameter, determines what IP & port to connect to
> and also determines the version of postgres running so the proper psql
> client is invoked.  I don't know if it's a must but you'll be warned if
> you try to connect to a 8.1 using a 7.4 client.



Care to share that script or at least show us how it works?  This sounds
like a great way to gradually upgrade applications to new database versions,
especially when you have many clients on a machine and upgrade only some of
them at a time.

Thanks!
Aaron

==================================================================
   Aaron Bono
   Aranya Software Technologies, Inc.
   http://www.aranya.com
==================================================================

view thread (4+ messages)

Message-ID: <bf05e51c0607141043o7c4e98bid659ebd767fb57ca@mail.gmail.com>
Permalink:  ../bf05e51c0607141043o7c4e98bid659ebd767fb57ca@mail.gmail.com/
Also on:    postgresql.org/message-id/bf05e51c0607141043o7c4e98bid659ebd767fb57ca@mail.gmail.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-admin@postgresql.org
  Cc: postgresql@aranya.com, gspiegelberg@cranel.com, kitaeda@infoeye.net
  Subject: Re: *** How can I install two postgresqls in the same machine? *****
  In-Reply-To: <bf05e51c0607141043o7c4e98bid659ebd767fb57ca@mail.gmail.com>
  References: <82E74D266CB9B44390D3CCE44A781ED90126C421@POSTOFFICE.cranel.local> <bf05e51c0607141043o7c4e98bid659ebd767fb57ca@mail.gmail.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