Re: initdb in C

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: initdb in C
Дата
Msg-id Pine.LNX.4.44.0311081722540.11030-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: initdb in C  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: initdb in C  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: initdb in C  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
Andrew Dunstan writes:

> recreating the datadir if we didn't create it initially should be OK in
> that case, and it makes the code simpler.

That should be avoided, because you'll have trouble recreating the
original directory with all its properties such as ownership, permissions,
etc., at least not without making the code anything but simpler.  There
might even be a situation were you are allowed to delete the directory but
cannot create a new one.

--
Peter Eisentraut   peter_e@gmx.net


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: alter schema help is not available in psql
Следующее
От: Tom Lane
Дата:
Сообщение: Re: initdb in C