Re: [HACKERS] Clarifying "server starting" messaging in pg_ctl startwithout --wait

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: [HACKERS] Clarifying "server starting" messaging in pg_ctl startwithout --wait
Дата
Msg-id CAKFQuwYEc7G0R2LBR5QSii2QLhCmLM44gd5p+Ba-m7Ai4uoxgw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Clarifying "server starting" messaging in pg_ctl start without --wait  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Tue, Dec 20, 2016 at 1:49 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
> Maybe the fix is to make --wait the default?

I was wondering about that too ... does anyone remember the rationale
for the current behavior?  But the message for the non-wait case seems
like it could stand to be improved independently of that.

​Not totally independent.​

If the default is changed to --wait then the message can be written assuming the user understands what "--no-wait" does; but if the default is left "--no-wait" then cluing the user into the asynchronous behavior and telling them how to get the more expected synchronous behavior would be helpful.

David J.

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: [HACKERS] Clarifying "server starting" messaging in pg_ctl startwithout --wait
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: pg_authid.rolpassword format (was Re: [HACKERS] Passwordidentifiers, protocol aging and SCRAM protocol)