Обсуждение: bootstrap does not init paths

Поиск
Список
Период
Сортировка

bootstrap does not init paths

От
"Magnus Hagander"
Дата:
Seems bootstrapmain() never called find_my_exec(), and therefor never
manged to fill in the path to the timezone directory. With the new
timezone code that actully picks up a decent timezone on my system, that
causes initdb to fail because it can't find any acceptable timezone at
all.

This patch adds the required call to bootstrapmain(), and initdb works
again for me. Code itself directly copied from postgresmain().


//Magnus


Вложения

Re: bootstrap does not init paths

От
Tom Lane
Дата:
"Magnus Hagander" <mha@sollentuna.net> writes:
> This patch adds the required call to bootstrapmain(), and initdb works
> again for me. Code itself directly copied from postgresmain().

Applied, except I moved it up a little bit.  In the PostgresMain case
this is done before InitializeGUCOptions(), and it seems best to keep
the ordering consistent.

            regards, tom lane