You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement ArrayRows hint parsing and application so array predicates can be adjusted using absolute, additive, subtractive, or multiplicative row corrections.
Copy file name to clipboardExpand all lines: docs/hint_list.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,5 +28,6 @@ The available hints are listed below.
28
28
| Behavior control on Join |`Memoize(table table[ table...])`| Allows the topmost join of a join among the specified tables to Memoize the inner result. Not enforced. |
29
29
||`NoMemoize(table table[ table...])`| Inhibits the topmost join of a join among the specified tables from Memoizing the inner result. |
30
30
| Row number correction |`Rows(table table[ table...] correction)`| Corrects row number of a result of the joins on the tables specified. The available correction methods are absolute (#<n>), addition (+<n>), subtract (-<n>) and multiplication (*<n>). <n> should be a string that strtod() can understand. |
31
+
||`ArrayRows(table[ qualifier] correction)`| Adjusts row estimation for array predicates on the tables specified. Targets array operators (`&&`, `@>`, `<@`) and scalar-array comparisons (`<cmp> ANY/ALL (array)`). The correction is absolute (#<n>), addition (+<n>), subtraction (-<n>) or multiplication (*<n>). `qualifier` is optional and can be an operator (`&&`, `@>`, `<@`), a quantifier (`ANY`, `ALL`) or a comparison+quantifier (e.g. `= ANY`, `<> ALL`). |
31
32
| Parallel query configuration |`Parallel(table <# of workers> [soft\|hard])`| Enforces or inhibits parallel execution of the specified table. <# of workers> is the desired number of parallel workers, where zero means inhibiting parallel execution. If the third parameter is soft (default), it just changes max\_parallel\_workers\_per\_gather and leaves everything else to the planner. Hard enforces the specified number of workers. |
32
33
| GUC |`Set(GUC-param value)`| Sets GUC parameter to the value defined while planner is running. |
0 commit comments