Re: pgNixInstaller: Making PostgreSQL relocatable

From: Greg Stark <gsstark(at)mit(dot)edu>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Enver ALTIN <ealtin(at)parkyeri(dot)com>, pgsql-hackers(at)postgresql(dot)org, Devrim Gunduz <devrim(at)commandprompt(dot)com>, Nicolai Tufar <ntufar(at)gmail(dot)com>, Burcu Guzel <burcu(dot)guzel(at)gmail(dot)com>
Subject: Re: pgNixInstaller: Making PostgreSQL relocatable
Date: 2006-03-23 06:38:28
Message-ID: 873bh9wtqz.fsf@stark.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:

> Enver ALTIN <ealtin(at)parkyeri(dot)com> writes:
> > Tom Lane wrote:
> >> s/doable/already done/, no?
>
> > I did a Google search on "relocatable PostgreSQL" and the first
> > result[1] said it's already done. Apparently it didn't work for me on
> > Solaris 8 (linking problems). I'll be looking at it sometime today.
>
> OK ... it's supposed to work to shift the whole installation tree to
> a new root, ie, paths to places like the /share and /lib directories
> are determined relative to where the backend executable actually is.
> If this is not working on Solaris then for sure we want to know ...

I'm sure this isn't the only possible gotcha but I do seem to recall that on
Solaris there's no such thing as a default LD_LIBRARY_PATH. Every binary
stores absolute paths to every shared library it's linked against.

--
greg

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Davidson, Robert 2006-03-23 13:30:28 Re: [SQL] Function Parameters in GROUP BY clause cause errors
Previous Message Tom Lane 2006-03-23 05:39:52 Re: Get explain output of postgresql in Tables