Installing different PostgreSQL versions in parallel

From: Rafael Ostertag <raos(at)opencsw(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Installing different PostgreSQL versions in parallel
Date: 2011-12-05 18:43:07
Message-ID: 20111205184307.GE18805@bender.opencsw.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi list

I'm in the course of creating PostgreSQL packages for Solaris. One of the
requirement is to install different PostgreSQL versions in parallel, the other
is to have all the libraries stuffed in one place.

Now, if I install, let's say, pgsql 8.3 and 8.4 in parallel and all libraries
go to /opt/csw/lib, I end up with:

$ ls -l /opt/csw/lib/libpq*
lrwxrwxrwx 1 root root libpq.so -> libpq.so.5.2
lrwxrwxrwx 1 root root libpq.so.5 -> libpq.so.5.2
-rwxr-xr-x 1 root bin libpq.so.5.1
-rwxr-xr-x 1 root bin libpq.so.5.2

Which in turn leads to 8.3 binaries loading libpq.so.5.2, effectively mixing
8.3 binaries with 8.4 libraries.

Finally, the question: How bad is it having a pgsql binary version X.Y using a
library X.Z?

Thanks for your help.

Cheers
Rafael

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2011-12-05 19:13:58 Re: disallow SET WORK_MEM
Previous Message Andreas Kretschmer 2011-12-05 18:41:50 disallow SET WORK_MEM