Re: basic questions: Postgres with yum on CentOS 5.1

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: basic questions: Postgres with yum on CentOS 5.1
Дата
Msg-id 9847.1199252157@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: basic questions: Postgres with yum on CentOS 5.1  (Greg Smith <gsmith@gregsmith.com>)
Список pgsql-general
Greg Smith <gsmith@gregsmith.com> writes:
> On Tue, 1 Jan 2008, Chuck wrote:
>> Since I have a packaged installation, I don't believe that I will call
>> initdb directly.

> There is actually another command I don't think you've noticed yet:

> service postgresql initdb

Actually, that was only added in very recent versions of the postgresql
init script.  Before about 8.2, the first 'service postgresql start'
would automatically run initdb.  We split it out because of the (small)
risk of doing the wrong thing ...

In any case, I concur with the suggestion that you should use the init
script rather than invoking initdb directly.  In most package setups
that's much more likely to get the details right.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: visibility rules for AFTER UPDATE Constraint Triggers Function
Следующее
От: "Albe Laurenz"
Дата:
Сообщение: Re: Can't make backup