Re: initdb start server recommendation

Поиск
Список
Период
Сортировка
От Euler Taveira
Тема Re: initdb start server recommendation
Дата
Msg-id 554393C7.9080408@timbira.com.br
обсуждение исходный текст
Ответ на initdb start server recommendation  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: initdb start server recommendation  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
On 01-05-2015 11:14, Bruce Momjian wrote:
> Currently initdb outputs suggested text on starting the server:
> 
>     Success. You can now start the database server using:
>     
>         /u/pgsql/bin/postgres -D /u/pgsql/data
>     or
>         /u/pgsql/bin/pg_ctl -D /u/pgsql/data -l logfile start
> 
> I am now thinking pg_ctl should be recommended first.  At the time this
> text was written pg_ctl was new.
> 
+1.

BTW, why are we advocating postgres binary use at all? AFAICS the main
postgres (or postmaster) uses are (i) startup script (which also
advocate for 'pg_ctl -w') and (ii) disaster/debugging purposes. None of
those use cases are intended for general users. Let's make it simple and
drop 'postgres' line.


--   Euler Taveira                   Timbira - http://www.timbira.com.br/  PostgreSQL: Consultoria, Desenvolvimento,
Suporte24x7 e Treinamento
 



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: INSERT ... ON CONFLICT UPDATE/IGNORE 4.0
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: initdb start server recommendation