diff options
author | Fujii Masao <fujii@postgresql.org> | 2021-08-25 11:43:56 +0900 |
---|---|---|
committer | Fujii Masao <fujii@postgresql.org> | 2021-08-25 11:43:56 +0900 |
commit | 085400fee9d58d7a97976755ae0627ef072e3776 (patch) | |
tree | 3e1f7b48d2137c6119a138e0ab8377f7039c95d8 /src/backend/commands/functioncmds.c | |
parent | 71fee6cfaca35208d266c172e63b76d37df88b77 (diff) | |
download | postgresql-085400fee9d58d7a97976755ae0627ef072e3776.tar.gz postgresql-085400fee9d58d7a97976755ae0627ef072e3776.zip |
Improve error message about valid value for distance in phrase operator.
The distance in phrase operator must be an integer value between zero
and MAXENTRYPOS inclusive. But previously the error message about
its valid value included the information about its upper limit
but not lower limit (i.e., zero). This commit improves the error message
so that it also includes the information about its lower limit.
Back-patch to v9.6 where full-text phrase search was supported.
Author: Kyotaro Horiguchi
Reviewed-by: Fujii Masao
Discussion: https://postgr.es/m/20210819.170315.1413060634876301811.horikyota.ntt@gmail.com
Diffstat (limited to 'src/backend/commands/functioncmds.c')
0 files changed, 0 insertions, 0 deletions