Re: [GENERAL] Customize the install directory of the postgres DB

2009-11-18 Thread weixiang tam
Hi all, Thanks for the suggestion, i have tried out the option Thomas has mentioned by unzipping the db, and it works in our scenario. Just a question regarding the shared library. I have run the following command so that postgres can locate the shared library /sbin/ldconfig /home/app/pgsql/lib

Re: [GENERAL] Customize the install directory of the postgres DB

2009-11-16 Thread Eric Comeau
"Greg Smith" wrote in message news:4afde758.1050...@2ndquadrant.com... > Tom Lane wrote: >> The real problem that I think the OP hasn't considered is whether >> his "bundled" RPM package isn't going to conflict with a preinstalled >> postgresql RPM. Relocating the RPM, either dynamically as you

Re: [GENERAL] Customize the install directory of the postgres DB

2009-11-13 Thread Greg Smith
Tom Lane wrote: The real problem that I think the OP hasn't considered is whether his "bundled" RPM package isn't going to conflict with a preinstalled postgresql RPM. Relocating the RPM, either dynamically as you suggest or by just changing the install paths while building it, isn't a very pala

Re: [GENERAL] Customize the install directory of the postgres DB

2009-11-13 Thread Thomas Kellerer
weixiang tam wrote on 13.11.2009 10:16: Dear all, I am trying to install the postgres8.2.14 via the RPM; however the install directory is default to the following folder * Executables : /usr/bin * Libraries : /usr/lib * Documentation : /usr/share/doc/postgresql-x.y.z , /usr/

Re: [GENERAL] Customize the install directory of the postgres DB

2009-11-13 Thread Tom Lane
Greg Smith writes: > weixiang tam wrote: >> As we are bundling the postgresql db as our product release, we would >> like to keep the Postgres executable dir, Data Dir under our product >> folder. In this case, could I know whether I can customize the install >> directory when i do the RPM inst

Re: [GENERAL] Customize the install directory of the postgres DB

2009-11-13 Thread Greg Smith
weixiang tam wrote: As we are bundling the postgresql db as our product release, we would like to keep the Postgres executable dir, Data Dir under our product folder. In this case, could I know whether I can customize the install directory when i do the RPM installation? What you'd probably lik

Re: [GENERAL] Customize the install directory of the postgres DB

2009-11-13 Thread Albe Laurenz
weixiang tam wrote: > I am trying to install the postgres8.2.14 via the RPM; > however the install directory is default to the following folder > > > > * Executables : /usr/bin > * Libraries : /usr/lib > * Documentation : /usr/share/doc/postgresql-x.y.z , > /usr/share/doc/postgre