Re: Fixed directory locations in installs

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Fixed directory locations in installs
Дата
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE171670@algol.sollentuna.se
обсуждение исходный текст
Ответ на Fixed directory locations in installs  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Fixed directory locations in installs
Список pgsql-hackers
>> Common practice, for one thing. Windows programs are typically
>> relocatable, and Windows admins regard programs that rely on
>> hardcoded paths very poorly indeed.
>
>OK, but how can that work in general?  How do other programs handle
>this?  I don't think we should design a solution that goes
>like "ok, if
>we move that file from share to lib then we could get away with it for
>now".  That will only postpone the potential problems.  There needs to
>be a definite and fixed place where programs can go looking to
>find the
>files they need.  Maybe it should be stored in that registry thing?

To make it work more cross-platform, replace "that registry thing" with
"postgresql.conf". It's basically the same thing, except the registry
has a hierarchy model.

And yes, that's how most other programs handle it.


//Magnus


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Fixed directory locations in installs
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Fixed directory locations in installs