OSDN Git Service

[DOC] Fix default value for pg_hint_plan.message_level
authorKyotaro Horiguchi <horikyota.ntt@gmail.com>
Tue, 18 Jan 2022 06:43:26 +0000 (15:43 +0900)
committerKyotaro Horiguchi <horikyota.ntt@gmail.com>
Tue, 18 Jan 2022 06:43:26 +0000 (15:43 +0900)
The actual default value for the variable is LOG so that the messages
are emitted to server log. Fix the documentation.

Per the report from jianggq@cn.fujitsu.com.

doc/pg_hint_plan-ja.html
doc/pg_hint_plan.html

index c922d2c..bfb978a 100755 (executable)
@@ -366,8 +366,8 @@ EXPLAIN SELECT * FROM a, b WHERE a.val = b.val;
   <td>指定したヒントを解釈できなかった場合のログメッセージのレベルを指定します。有効な値は、debug5、debug4、debug3、debug2、debug1、log、info、notice、warning、またはerrorです。</td><td>INFO</td></tr>
 <tr><td>pg_hint_plan.debug_print</td>
   <td>動作状況を示すログメッセージの出力を制御します。指定可能な値は off, on, verbose, detailed です。</td><td>off</td></tr>
-<tr><td>pg_hint_plan.message_elevel</td>
-  <td>動作ログメッセージのログレベルを指定します。有効な値は、debug5、debug4、debug3、debug2、debug1、log、info、notice、warning、またはerrorです。</td><td>INFO</td></tr>
+<tr><td>pg_hint_plan.message_level</td>
+  <td>動作ログメッセージのログレベルを指定します。有効な値は、debug5、debug4、debug3、debug2、debug1、log、info、notice、warning、またはerrorです。</td><td>LOG</td></tr>
 
 </tbody>
 </table>
index e8d4b5a..1773885 100755 (executable)
@@ -239,7 +239,7 @@ postgres-# SELECT * FROM table1 t1 WHERE key = 'value';
 <tr><td>pg_hint_plan.debug_print</td>
   <td>Controls debug print and verbosity. Valid values are off, on, detailed and verbose.</td><td>off</td></tr>
 <tr><td>pg_hint_plan.message_level</td>
-  <td>Specifies message level of debug print. Valid values are error, warning, notice, info, log, debug<n>.</td><td>INFO</td></tr>
+  <td>Specifies message level of debug print. Valid values are error, warning, notice, info, log, debug<n>.</td><td>LOG</td></tr>
 </tbody>
 </table>
 <h2 id="install">Installation</h2>