- Notifications
You must be signed in to change notification settings - Fork5
Commitaa698d7
committed
pg_trgm's set_limit() now uses SetConfigOption()
Deprecated set_limit() is modified to use SetConfigOption() to setsimilarity_threshold which is actually an instance ofpg_trgm.similarity_threshold GUC variable. Previous coding directly setssimilarity_threshold what could cause an inconsistency between states ofactual variable and GUC representation.Per gripe from Tom Lane1 parent696684d commitaa698d7
1 file changed
+11
-5
lines changedLines changed: 11 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
| 12 | + | |
12 | 13 |
| |
13 | 14 |
| |
14 | 15 |
| |
| |||
80 | 81 |
| |
81 | 82 |
| |
82 | 83 |
| |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
83 | 94 |
| |
84 |
| - | |
85 |
| - | |
86 |
| - | |
87 |
| - | |
88 |
| - | |
89 | 95 |
| |
90 | 96 |
| |
91 | 97 |
| |
|
0 commit comments
Comments
(0)