From: | "Albe Laurenz" <laurenz(dot)albe(at)wien(dot)gv(dot)at> |
---|---|
To: | "weixiang tam *EXTERN*" <weixiang(dot)ets(at)gmail(dot)com>, <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Customize the install directory of the postgres DB |
Date: | 2009-11-13 14:12:05 |
Message-ID: | D960CB61B694CF459DCFB4B0128514C203938036@exadv11.host.magwien.gv.at |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
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/postgresql-x.y.z/contrib
> * Contrib : /usr/share/pgsql/contrib
> * Data : /var/lib/pgsql/data
>
> 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?
If you mean the RPMs PostgreSQL provides, no.
What I would recommend is to take the source RPM, change the spec
in those places where these directories are defined, and build
your own RPM.
Yours,
Laurenz Albe
From | Date | Subject | |
---|---|---|---|
Next Message | Marek Peca | 2009-11-13 14:22:35 | PGconn gets frozen ocassionally after select() timeout |
Previous Message | Gunnar Sønsteby | 2009-11-13 13:36:14 | Cache lookup error |