| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера