Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 5939C9F929C for ; Fri, 10 Aug 2007 12:21:36 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 56591-03 for ; Fri, 10 Aug 2007 12:21:33 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from qb-out-0506.google.com (qb-out-0506.google.com [72.14.204.228]) by postgresql.org (Postfix) with ESMTP id F117D9F9299 for ; Fri, 10 Aug 2007 12:21:32 -0300 (ADT) Received: by qb-out-0506.google.com with SMTP id o12so3576030qba for ; Fri, 10 Aug 2007 08:21:32 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=a+YQpZ88miYSFLrJWizDH8gNgqMGmWBOpPkU6fx4e6OQSUCMxRjt9glUbnyMxte9xszOk9MpL0q/bj8XW6D7sRcEzpZVMySYgn9up8H0MUy3zJE2eiHF7d6ZSZi/3gLRjzHy33QQCJIhjacGlOIuhrFljdvSAxfW2jXnJbPws6w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FdJp/7cbc6J6IyX7XbqJ85irCjl7qjQDvo45R4MOomfo/s7/fvPgeukgkxrCHIEk1R1j8tFVVxHSdZ7P0g/8KN9lkNpD8IpLwcl8a+V8r43063gSOl3a9+LgM+6/EOKFhseSWMSiRrsMd2psAP8OvbqNVNKEDhUxM0uYN99XHaU= Received: by 10.141.79.12 with SMTP id g12mr1103400rvl.1186759291648; Fri, 10 Aug 2007 08:21:31 -0700 (PDT) Received: by 10.141.98.12 with HTTP; Fri, 10 Aug 2007 08:21:31 -0700 (PDT) Message-ID: Date: Fri, 10 Aug 2007 10:21:31 -0500 From: "Scott Marlowe" To: "Loredana Curugiu" Subject: Re: [SQL] Install two different versions of postgres which should run in parallel Cc: pgsql-novice@postgresql.org, pgsql-sql@postgresql.org, pgsql-jdbc@postgresql.org In-Reply-To: <1c23c8e70708100433g4496040webeb53b44485bce7@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1c23c8e70708100433g4496040webeb53b44485bce7@mail.gmail.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/54 X-Sequence-Number: 17367 On 8/10/07, Loredana Curugiu wrote: > Hi all, > > I need to have two different vesions of postgres running in parallel on > different ports. Does anyone knows how to install two different versions > of postgres (7.4.5 and 8.2.4) on the same computer? I am using Linux > operating system. FYI, Linux isn't an OS, it's a kernel. With RedHat, you'll either need to build your own RPMs from source where each goes to a different directory etc OR compile from source using a different --prefix and then use separate startup scripts that set LD_LIBRARY_PATH and PATH etc... for each install on startup. If you're running Debian, you can install >1 version of pgsql side by side. Not sure how it's done exactly, but I've heard it repeated enough to believe it's true.