forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit6f6d863
committed
Create a type-specific typanalyze routine for tsvector, which collects stats
on the most common individual lexemes in place of the mostly-useless defaultbehavior of counting duplicate tsvectors. Future work: create selectivityestimation functions that actually do something with these stats.(Some other things we ought to look at doing: using the Lossy Countingalgorithm in compute_minimal_stats, and using the element-counting idea forstats on regular arrays.)Jan Urbanski1 parent6816577 commit6f6d863
File tree
11 files changed
+467
-41
lines changed- doc/src/sgml
- src
- backend
- catalog
- tsearch
- include
- catalog
- tsearch
- test/regress/expected
11 files changed
+467
-41
lines changedLines changed: 5 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| |||
6516 | 6516 |
| |
6517 | 6517 |
| |
6518 | 6518 |
| |
| 6519 | + | |
| 6520 | + | |
6519 | 6521 |
| |
6520 | 6522 |
| |
6521 | 6523 |
| |
| |||
6524 | 6526 |
| |
6525 | 6527 |
| |
6526 | 6528 |
| |
6527 |
| - | |
| 6529 | + | |
6528 | 6530 |
| |
6529 | 6531 |
| |
6530 |
| - | |
| 6532 | + | |
6531 | 6533 |
| |
6532 | 6534 |
| |
6533 | 6535 |
| |
|
Lines changed: 25 additions & 25 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
| 6 | + | |
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| |||
110 | 110 |
| |
111 | 111 |
| |
112 | 112 |
| |
113 |
| - | |
114 |
| - | |
115 |
| - | |
116 |
| - | |
117 |
| - | |
118 |
| - | |
119 |
| - | |
120 |
| - | |
121 |
| - | |
122 |
| - | |
123 |
| - | |
124 |
| - | |
125 |
| - | |
126 |
| - | |
127 |
| - | |
128 |
| - | |
129 |
| - | |
130 |
| - | |
131 |
| - | |
132 |
| - | |
133 |
| - | |
134 |
| - | |
135 |
| - | |
136 |
| - | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
137 | 137 |
| |
138 | 138 |
| |
139 | 139 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
| 7 | + | |
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
22 |
| - | |
| 22 | + | |
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
|
0 commit comments
Comments
(0)