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 3101f4b commit 0ffb855
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 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.
2 changes: 1 addition & 1 deletion docs/locale/ja/LC_MESSAGES/hint_details.po
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ msgstr ""

#: ../../hint_details.md:205 1f4c1cafe4064957bfce246196f7e939
msgid ""
"Hints to change `enable_hint`, `enable_hint_tables` are ignored even "
"Hints to change `enable_hint`, `enable_hint_table` are ignored even "
"though they are reported as \"used hints\" in debug logs."
msgstr ""

Expand Down
2 changes: 1 addition & 1 deletion docs/locale/ja/LC_MESSAGES/installation.po
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ msgstr ""

#: ../../installation.md:31 7c744892770140dda9f34c2886b4b58d
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 ""

0 comments on commit 0ffb855

Please sign in to comment.