Skip to content

Commit

Permalink
Rename correctly GUC enable_hint_table
Browse files Browse the repository at this point in the history
This was named enable_hint_tables in some locations of the
documentation.

Reported by Rajan Pandey via #186.

Backpatch-through: 14
  • Loading branch information
michaelpq committed Apr 30, 2024
1 parent 7bcf131 commit 8ea6370
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/hint_details.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,6 @@ zero workers prevents a scan from being executed in parallel.
`pg_hint_plan` parameters influence their own behavior so some parameters
will not work as one could expect:

- Hints to change `enable_hint`, `enable_hint_tables` are ignored even though
- Hints to change `enable_hint`, `enable_hint_table` are ignored even though
they are reported as "used hints" in debug logs.
- Setting `debug_print` and `message_level` in the middle of query processing.
2 changes: 1 addition & 1 deletion docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ postgres=# LOAD 'pg_hint_plan';
LOAD
```

Run `CREATE EXTENSION` and `SET pg_hint_plan.enable_hint_tables TO on` if you
Run `CREATE EXTENSION` and `SET pg_hint_plan.enable_hint_table TO on` if you
are planning to use the hint table.
4 changes: 2 additions & 2 deletions docs/locale/ja/LC_MESSAGES/hint_details.po
Original file line number Diff line number Diff line change
Expand Up @@ -263,10 +263,10 @@ msgstr ""

#: ../../hint_details.md:205 6aa6255ae67a4589ba094fd354280c4b
msgid ""
"Hints to change `enable_hint`, `enable_hint_tables` are ignored even though "
"Hints to change `enable_hint`, `enable_hint_table` are ignored even though "
"they are reported as \"used hints\" in debug logs."
msgstr ""
"`enable_hint`, `enable_hint_tables`を変更するヒントは、デバッグログに\"used "
"`enable_hint`, `enable_hint_table`を変更するヒントは、デバッグログに\"used "
"hints\"として報告されても無視されます。"

#: ../../hint_details.md:207 01117a88f48e4d0989993d4d65a1c535
Expand Down
4 changes: 2 additions & 2 deletions docs/locale/ja/LC_MESSAGES/installation.po
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ msgstr ""

#: ../../installation.md:31 28ccb49c1b2f498b8ed85e5e231f40d9
msgid ""
"Do `CREATE EXTENSION` and `SET pg_hint_plan.enable_hint_tables TO on` if "
"Do `CREATE EXTENSION` and `SET pg_hint_plan.enable_hint_table TO on` if "
"you are planning to use the hint table."
msgstr ""
"ヒントテーブルを使用する場合は、`CREATE EXTENSION` を実行し`SET "
"pg_hint_plan.enable_hint_tables TO on`を実行してください。"
"pg_hint_plan.enable_hint_table TO on`を実行してください。"

0 comments on commit 8ea6370

Please sign in to comment.