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

From: Rob Sargent <robjsargent(at)gmail(dot)com>
To: chiru r <chirupg(at)gmail(dot)com>
Cc: Brent Wood <pcreso(at)yahoo(dot)com>, pgsql-pkg-yum(at)postgresql(dot)org, Forums postgresql <pgsql-general(at)postgresql(dot)org>
Subject: Re: Relocatable Binaries (RPMs) : custom installation path for PostgreSQL
Date: 2019-01-02 01:21:25
Message-ID: 9D113D8F-25B0-4E64-8D03-C56BE3FDB2BB@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-pkg-yum

Do Options and One-Click seem oxymoronic to anyone else?

> On Jan 1, 2019, at 5:18 PM, chiru r <chirupg(at)gmail(dot)com> wrote:
>
> Yes, at this moment we are not considering symlinks.
>
> We would like to have the options in RPMs itself.
>
>> On Tue, Jan 1, 2019 at 3:53 PM Brent Wood <pcreso(at)yahoo(dot)com> wrote:
>> Have you considered symlinking the default paths to where you want it to reside?
>>
>> That approach would allow updates & upgrades to work as they expect, without changing default paths or config files.
>>
>> Much as described here:
>> https://help.cloud66.com/rails/how-to-guides/databases/shells/change-psql-directory.html
>>
>>
>>
>> Cheers,
>>
>> Brent Wood
>>
>>
>> On 12/31/18 8:19 AM, chiru r wrote:
>> > Hi All,
>> >
>> > I wanted to install the PostgreSQL-11 Software with Custom
>> > installation/binary paths.
>> >
>> > Currently I am using EDB one click installer software with option file
>> > like below to achieve, However EDB stopped and no longer provides one
>> > click installer for Linux.
>> >
>> > *Example:*
>> >
>> > PostgreSQL install software file : *postgresql-9.6.9-1-linux-x64.run*
>> >
>> > *cat Optionsfile.txt*
>> > mode=unattended
>> > datadir=/u02/pgdata01/9.6/data
>> > serverport=5432
>> > prefix=/u01/postgres/9.6
>> > I have installed CommunityPostgreSQL RPMs and are going into
>> > "/usr/pgsql-11/" by default.
>> >
>>
>> > #-> pwd
>> > /usr/pgsql-11
>> >
>> > [root(at)user:/usr/pgsql-11]#
>> >
>> > #-> ls -l
>> > total 16
>> >
>> > drwxr-xr-x 2 root root 4096 Dec 21 13:49 bin
>> > drwxr-xr-x 3 root root 4096 Dec 21 13:49 doc
>> > drwxr-xr-x 3 root root 4096 Dec 21 13:49 lib
>> > drwxr-xr-x 8 root root 4096 Dec 21 13:49 share
>> >
>> > Please let us know how to get the PostgreSQL-11 installed in above
>> > custom paths using RPMs? .
>> >
>> >
>> > Thanks,
>> >
>> > Chiranjeevi
>> >
>>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Nguyễn Trần Quốc Vinh 2019-01-02 08:44:50 Re: [GENERAL] Incremental refresh - Materialized view
Previous Message chiru r 2019-01-02 00:18:17 Re: Relocatable Binaries (RPMs) : custom installation path for PostgreSQL

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Kevin Brannen 2019-01-02 18:25:26 RE: Relocatable Binaries (RPMs) : custom installation path for PostgreSQL
Previous Message chiru r 2019-01-02 00:18:17 Re: Relocatable Binaries (RPMs) : custom installation path for PostgreSQL