Обсуждение: [DOCS] default paramater is off

Поиск
Список
Период
Сортировка

[DOCS] default paramater is off

От
minami@ageha.co.jp
Дата:
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/9.5/static/runtime-config-error-handling.html
Description:

18.14. Error Handling
exit_on_error (boolean)
If true, any error will terminate the current session. By default, this is
set to false, so that only FATAL errors will terminate the session.
========================================

It's default parameter is 'OFF'
not 'FALSE'

Re: [DOCS] default paramater is off

От
"David G. Johnston"
Дата:
On Thu, May 11, 2017 at 12:55 AM, <minami@ageha.co.jp> wrote:
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/9.5/static/runtime-config-error-handling.html
Description:

18.14. Error Handling
exit_on_error (boolean)
If true, any error will terminate the current session. By default, this is
set to false, so that only FATAL errors will terminate the session.
========================================

It&#39;s default parameter is &#39;OFF&#39;
not &#39;FALSE&#39;

​I suspect there are many other instances where the docs use "true/false" to describe a boolean configuration variable while "show" displays "on/off".  restart_after_crash on this same page is one easy to find example.

​Is there actual confusion here or is this a matter of being exact?  false == off when dealing with a boolean parameter as described at:


David J.