Re:

From: Fernando Nasser <fnasser(at)redhat(dot)com>
To: Andrew Overholt <overholt(at)redhat(dot)com>
Cc: pgsql-ports(at)postgresql(dot)org, Christopher Browne <cbbrowne(at)acm(dot)org>, pgsql-general(at)postgresql(dot)org, David Jee <djee(at)redhat(dot)com>
Subject: Re:
Date: 2003-10-22 18:05:31
Message-ID: 3F96C6EB.20106@redhat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-ports

Andrew Overholt wrote:
> djee
> Bcc:
> Subject: Re: [PORTS] [GENERAL] Redhat RPMs
> Reply-To: Andrew Overholt <overholt(at)redhat(dot)com>
> In-Reply-To: <200310141315(dot)18492(dot)lowen(at)pari(dot)edu>
>
> Lamar Owen once said:
>
>>On Friday 10 October 2003 08:52 pm, Christopher Browne wrote:
>>
>>>Oops! nandrews(at)investsystems(dot)co(dot)uk ("Nigel J. Andrews") was seen
>>
>>spray-painting on a wall:
>>
>>>>I've not looked at many RPMs but I must say that the few I have have
>>>>never been relocatable. Can the postgresql RPMs not be made
>>>>relocatable?
>>>
>
> I tried this once but had many issues with initdb and a few others IIRC.
> The locations of data directories and such was being hard-coded in them at
> compile time and I had to do a lot of sed-ing in the specfile to make it
> work. I know I accomplished that but ended up hitting a wall with
> something ... I'll look in my old mail to remind myself what it was.
>

If we go with the Debian proposal of a specific package name for each
version that has a different catalog version (needs pg_dump +
pg_restore) and multiple versions installed we can basically eliminate
this. The paths provided to configure in each of these packages will
have a different base directory, which includes the version, so each
package will be a 'normal' package, not a relocatable one.

--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser(at)redhat(dot)com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9

In response to

  • at 2003-10-22 13:02:20 from Andrew Overholt

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2003-10-22 18:13:31 Re: Identifier max length
Previous Message Alvaro Herrera 2003-10-22 17:40:01 Re: plpgsql extract epoch problem

Browse pgsql-ports by date

  From Date Subject
Next Message jinwoo Kim 2003-10-24 01:45:49 optimization method for ia64
Previous Message Andrew Overholt 2003-10-22 13:07:57 Re: [PORTS] Redhat RPMs