forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit085400f
committed
Improve error message about valid value for distance in phrase operator.
The distance in phrase operator must be an integer value between zeroand MAXENTRYPOS inclusive. But previously the error message aboutits valid value included the information about its upper limitbut not lower limit (i.e., zero). This commit improves the error messageso that it also includes the information about its lower limit.Back-patch to v9.6 where full-text phrase search was supported.Author: Kyotaro HoriguchiReviewed-by: Fujii MasaoDiscussion:https://postgr.es/m/20210819.170315.1413060634876301811.horikyota.ntt@gmail.com1 parent71fee6c commit085400f
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
196 | 196 |
| |
197 | 197 |
| |
198 | 198 |
| |
199 |
| - | |
| 199 | + | |
200 | 200 |
| |
201 | 201 |
| |
202 | 202 |
| |
|
0 commit comments
Comments
(0)