Re: Relocatable locale

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Relocatable locale
Дата
Msg-id 200405271241.i4RCfRG26015@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Relocatable locale  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Relocatable locale  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-patches
Peter Eisentraut wrote:
> Am Donnerstag, 27. Mai 2004 13:05 schrieb Magnus Hagander:
> > I don't beleive this is a windows-specific issue. It's a general issue
> > for all relocateable installs.
>
> Except that no one except Windows uses relocatable installs.

I don't think that is completely true.  Packagers have been requesting
relocatable installs for a while, I think.

> > As for how to do it - on Windows you *can* get the path of the DLL that
> > is executing your code, using GetModuleFileName(). Hardly
> > cross-platform, but can be done.
>
> That sounds pretty reasonable to me.

True, and we already have our own find_my_exec() which works for Unix too.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Relocatable locale
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Relocatable locale