pgpool2.git / summary / log / commit / refs

commit    2ec5d9f30abf4e88599664b5b8442e6b8e44ccb4
Author:   Tatsuo Ishii <ishii@sraoss.co.jp>
Date:     Fri Oct 08 01:55:53 2021 +0000

    Change compile time default of log_standby_delay from 'none' to 'if_over_threshold'.
    
    Before the compile time default was 'none' but the default value of
    sample pgpool.conf was 'if_over_threshold'. Since 'if_over_threshold'
    is more useful for most users, change the compile time default to
    'if_over_threshold' as well.
    
    Discussion: https://www.pgpool.net/pipermail/pgpool-hackers/2021-October/004035.html


doc.ja/src/sgml/stream-check.sgml | 4 ++-- doc/src/sgml/stream-check.sgml | 4 ++-- src/config/pool_config_variables.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc.ja/src/sgml/stream-check.sgml b/doc.ja/src/sgml/stream-check.sgml index 3018aa2d6..665e36fd8 100644 --- a/doc.ja/src/sgml/stream-check.sgml +++ b/doc.ja/src/sgml/stream-check.sgml @@ -329,7 +329,7 @@ <!-- <entry>Never log the standby delay</entry> --> - <entry>スタンバイの遅延はログ出力されない (デフォルト)</entry> + <entry>スタンバイの遅延はログ出力されない</entry> </row> <row> @@ -345,7 +345,7 @@ <!-- <entry>Only log the standby delay, when it exceeds <xref linkend="guc-delay-threshold"> value</entry> --> - <entry><xref linkend="guc-delay-threshold">の値を超えた時だけ、スタンバイの遅延がログ出力される</entry> + <entry><xref linkend="guc-delay-threshold">の値を超えた時だけ、スタンバイの遅延がログ出力される(デフォルト)</entry> </row> </tbody> </tgroup> diff --git a/doc/src/sgml/stream-check.sgml b/doc/src/sgml/stream-check.sgml index 76eed6799..c54035d06 100644 --- a/doc/src/sgml/stream-check.sgml +++ b/doc/src/sgml/stream-check.sgml @@ -247,7 +247,7 @@ <tbody> <row> <entry><literal>'none'</literal></entry> - <entry>Never log the standby delay (the default)</entry> + <entry>Never log the standby delay</entry> </row> <row> @@ -257,7 +257,7 @@ <row> <entry><literal>'if_over_threshold'</literal></entry> - <entry>Only log the standby delay, when it exceeds <xref linkend="guc-delay-threshold"> value</entry> + <entry>Only log the standby delay, when it exceeds <xref linkend="guc-delay-threshold"> value (the default)</entry> </row> </tbody> </tgroup> diff --git a/src/config/pool_config_variables.c b/src/config/pool_config_variables.c index 4b16c85eb..5d9b63928 100644 --- a/src/config/pool_config_variables.c +++ b/src/config/pool_config_variables.c @@ -2195,7 +2195,7 @@ static struct config_enum ConfigureNamesEnum[] = CONFIG_VAR_TYPE_ENUM, false, 0 }, (int *) &g_pool_config.log_standby_delay, - LSD_NONE, + LSD_OVER_THRESHOLD, log_standby_delay_options, NULL, NULL, NULL, NULL }, [parent: 8a48c4dce421]