[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Running postgresql-7.4 and postgresql-8.1 simultaneously



On Tue, Nov 28, 2006 at 11:57:22AM +0000, Dave Ewart wrote:
> On Tuesday, 28.11.2006 at 11:04 +0000, Shri Shrikumar wrote:
> 
> > Is it possible to run both the 7.4 and 8.1 versions of postgresql
> > simultaneously on the same box. I assume that if I was to download and
> > install manually that it would work but is there a way of doing it
> > through the package management system?
> 
> The Debian package for postgresql-8.1 has a 'conflicts with' flag set
> for the PostgreSQL 7.x packages, so there would be no clean way to do
> this.  I have a feeling that some of the PostgreSQL library packages
> (libpq3 and libpq4) might conflict too.
> 
> In addition you'd need to ensure that the services were configured to
> listen on different ports, although that would be fairly trivial to
> achieve.
> 
> Perhaps we can help further if you explain exactly what you're trying to
> achieve by installing both simultaneously?
> 

Perhaps if you really need to do this, you could set up a minimal debian
chroot and install the older version there.

Doug.



Reply to: