RE: Relocatable Binaries (RPMs) : custom installation path for PostgreSQL

From: Kevin Brannen <KBrannen(at)efji(dot)com>
To: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: RE: Relocatable Binaries (RPMs) : custom installation path for PostgreSQL
Date: 2019-01-02 18:25:26
Message-ID: MN2PR19MB2575150C763A6726EEEF8D7FA48C0@MN2PR19MB2575.namprd19.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-pkg-yum

From: chiru r <chirupg(at)gmail(dot)com>

> I have installed Community PostgreSQL RPMs and are going into " /usr/pgsql-11/" by default.
> Please let us know how to get the PostgreSQL-11 installed in above custom paths using RPMs? .

I've never tried it, but look at the "--relocate" option for the rpm command. The "--prefix" option might do it too, but I think "--relocate" is what you need.

HTH,
Kevin

This e-mail transmission, and any documents, files or previous e-mail messages attached to it, may contain confidential information. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, distribution, review, copy or use of any of the information contained in or attached to this message is STRICTLY PROHIBITED. If you have received this transmission in error, please immediately notify us by reply e-mail, and destroy the original transmission and its attachments without reading them or saving them to disk. Thank you.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rich Shepard 2019-01-02 18:28:29 Re: Implementing standard SQL's DOMAIN constraint [RESOLVED]
Previous Message Tom Lane 2019-01-02 18:19:25 Re: Query planner / Analyse statistics bad estimate rows=1 with maximum statistics 10000 on PostgreSQL 10.2

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Devrim Gündüz 2019-01-02 19:04:04 Re: PL/Java 1.5.2 - fixes one regression in date conversion in 1.5.1
Previous Message Rob Sargent 2019-01-02 01:21:25 Re: Relocatable Binaries (RPMs) : custom installation path for PostgreSQL