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

2019-01-04 Thread Kevin Brannen
From: chiru r > I have tried to intall the RPMs with -relocate option,however it is not > working as expected and throwing below error. > > [root@Server1dev:/root/PG11]# > #-> rpm -ivh --relocate /usr/pgsql-11/=/u01/postgres/pg11_relocate/ > postgresql11-server-11.1-1PGDG.rhel7.x86_64.rpm > war

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

2019-01-03 Thread chiru r
Hi Kevin, Thank you for the responce. I have tried to intall the RPMs with -relocate option,however it is not working as expected and throwing below error. [root@Server1dev:/root/PG11]# #-> rpm -ivh --relocate /usr/pgsql-11/=/u01/postgres/pg11_relocate/ postgresql11-server-11.1-1PGDG.rhel7.x86_6

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

2019-01-02 Thread Kevin Brannen
From: chiru r > 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 "

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

2019-01-01 Thread Rob Sargent
Do Options and One-Click seem oxymoronic to anyone else? > On Jan 1, 2019, at 5:18 PM, chiru r 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 wrote: >> Have you considered sym

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

2019-01-01 Thread chiru r
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 wrote: > Have you considered symlinking the default paths to where you want it to > reside? > > That approach would allow updates & upgrades to work a

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

2019-01-01 Thread Brent Wood
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-di

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

2019-01-01 Thread Adrian Klaver
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