Re: initdb failure with Postgres 8.4.4

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: initdb failure with Postgres 8.4.4
Дата
Msg-id 4D06574E.2060907@dunslane.net
обсуждение исходный текст
Ответ на Re: initdb failure with Postgres 8.4.4  ("BRUSSER Michael" <Michael.BRUSSER@3ds.com>)
Ответы Re: initdb failure with Postgres 8.4.4  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers

On 12/13/2010 12:16 PM, BRUSSER Michael wrote:
> Here is what you should do:
>
> 1. Build Postgres with --prefix set to some empty directory.
> 2. Run install.
> 3. Bundle up the resulting install tree as part of your tarball.  Do not
> editorialize upon the relative locations of its contents.
> 4. Drop the install tree wherever you want on the target machine.
>
> -------------------------------------------------
>
> Would it be a completely crazy idea if I try to modify Postgres to look at some env. var
> (similar to PGDATA)  and if exists and path is valid look there for the timezone files?
>

Yes, that's only the first problem you have encountered. I predict there 
will be others if you go down this path. You are making life much harder 
for yourself than you need to. Just keep everything together and you'll 
be fine. If that's really impossible, use symlinks (or junction points 
on Windows) to achieve the same effect.

cheers

andrew


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: GiST insert algorithm rewrite
Следующее
От: David Fetter
Дата:
Сообщение: Re: ALTER TABLE ... ADD FOREIGN KEY ... NOT ENFORCED