INSTALL procedure doesn't create data dir.

Поиск
Список
Период
Сортировка
От pgsql-bugs@postgresql.org
Тема INSTALL procedure doesn't create data dir.
Дата
Msg-id 200105301505.f4UF5XY46549@hub.org
обсуждение исходный текст
Список pgsql-bugs
Josh Burdick (jburdick@gradient.cis.upenn.edu) reports a bug with a severity of 3
The lower the number the more severe it is.

Short Description
INSTALL procedure doesn't create data dir.

Long Description
  when doing an install-from-source of 7.1.2, on an Intel Red Hat 6.1 box, following the INSTALL "short version", it
compiledcleanly. 
  But "initdb" failed -- it couldn't find the data directory.
  So I created it by hand, and everything looked fine.
  I don't expect this to happen terribly often, because most people
will be either actually using some sort of package which (presumably) takes care of this, or installing over a previous
installation(in which case the data directory's already there.) 


Sample Code
workaround:
% su
% cd /usr/local/pgsql
% mkdir data
% chown postgres:postgres data
% exit
... then I continue doing the INSTALL instructions, picking up at "initdb...", and things look spiffy from there on.

No file was uploaded with this report

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG REPORT
Следующее
От: "Maxim Maletsky"
Дата:
Сообщение: RE: a typo in Docs, 7.1