Re: Install postgres on rhel 7

From: Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>
To: Mageshwaran Janarthanam <mageshwaran(dot)janarthanam(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Install postgres on rhel 7
Date: 2019-10-07 12:19:06
Message-ID: 20191007121906.f2i7uvpx2yqauqez@development
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Oct 07, 2019 at 01:00:32AM -0400, Mageshwaran Janarthanam wrote:
>Hi Team,
>
>I have question on the postgres install process. Tried to read the archives
>but couldn't find it.
>
>I wanted to install postgres server via rpm and wanted to store the
>binaries under non default location like /pgbin.
>

The rpm package (at least not those available at yum.postgresql.org) are
not relocatable:

rpm -qpi postgresql12-12.0-1PGDG.rhel7.x86_64.rpm | grep Relocations
Relocations : (not relocatable)

So unfortunately, you'll have to build your own packages, or something
like that.

regards

--
Tomas Vondra http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Moreno Andreo 2019-10-07 12:35:10 Re: Pg11 -- MultiXactId xxxx has not been created yet -- apparent wraparound
Previous Message Tomas Vondra 2019-10-07 12:13:46 Re: COPY command returns "ERROR: invalid XML content"