Should work with no problem, but I would not recommend it. You may not be able 
to setup a service(SysV or systemd) to automatically start postgres, and 
updating version could be troublesome.

Regards,

Alvaro Aguayo
Operations Manager
Open Comb Systems E.I.R.L.

Office: (+51-1) 3377813 | Mobile: (+51) 995540103 | (+51) 954183248
Web: www.ocs.pe

----- Original Message -----
From: "Thiagarajan Lakshminarayanan" <thiagu1...@gmail.com>
To: pgsql-general@lists.postgresql.org
Sent: Monday, 21 May, 2018 09:23:28
Subject: Installing PostgreSQL as non-root by Extracting the binaries from RPMs

Hello,

In our environment, our standard RHEL OS install comes with all the
PostgreSQL required packages / libraries installed.  So, can I just extract
the binaries from PostgreSQL RPMs via rpm2cpio and create a tar file and
install it as non-root user in an alternate location?  I tested the above
approach, created a new PostgreSQL instance and it is working fine.  Please
let me know if there would be any issues with the above approach?

Thanks
Raj

Reply via email to