pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Improve error message about valid value for distance in phrase o
7+ messages / 1 participants
[nested] [flat]

* pgsql: Improve error message about valid value for distance in phrase o
@ 2021-08-25 02:48 Fujii Masao <fujii@postgresql.org>
  0 siblings, 0 replies; 7+ messages in thread

From: Fujii Masao @ 2021-08-25 02:48 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/085400fee9d58d7a97976755ae0627ef072e3776

Modified Files
--------------
src/backend/utils/adt/tsquery.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Improve error message about valid value for distance in phrase o
@ 2021-08-25 02:49 Fujii Masao <fujii@postgresql.org>
  0 siblings, 0 replies; 7+ messages in thread

From: Fujii Masao @ 2021-08-25 02:49 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/1d0567ec61fbc429a7717ab8d5027952c806a8fb

Modified Files
--------------
src/backend/utils/adt/tsquery.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Improve error message about valid value for distance in phrase o
@ 2021-08-25 02:50 Fujii Masao <fujii@postgresql.org>
  0 siblings, 0 replies; 7+ messages in thread

From: Fujii Masao @ 2021-08-25 02:50 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/81fa1bce2770ee9c9ffe92baa7c5abae70939c59

Modified Files
--------------
src/backend/utils/adt/tsquery.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Improve error message about valid value for distance in phrase o
@ 2021-08-25 02:50 Fujii Masao <fujii@postgresql.org>
  0 siblings, 0 replies; 7+ messages in thread

From: Fujii Masao @ 2021-08-25 02:50 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/69b93a0127bc0ccfd7458c32174f5174bcf8524d

Modified Files
--------------
src/backend/utils/adt/tsquery.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Improve error message about valid value for distance in phrase o
@ 2021-08-25 02:50 Fujii Masao <fujii@postgresql.org>
  0 siblings, 0 replies; 7+ messages in thread

From: Fujii Masao @ 2021-08-25 02:50 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/3095dc1c47ca4ab198ce0817da39637f616df679

Modified Files
--------------
src/backend/utils/adt/tsquery.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Improve error message about valid value for distance in phrase o
@ 2021-08-25 02:51 Fujii Masao <fujii@postgresql.org>
  0 siblings, 0 replies; 7+ messages in thread

From: Fujii Masao @ 2021-08-25 02:51 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/edc6d3a9806fc330e6c8fd603b0455c1693b10eb

Modified Files
--------------
src/backend/utils/adt/tsquery.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Improve error message about valid value for distance in phrase o
@ 2021-08-25 02:51 Fujii Masao <fujii@postgresql.org>
  0 siblings, 0 replies; 7+ messages in thread

From: Fujii Masao @ 2021-08-25 02:51 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/5d1c36fd204bc680745263c3f9f41978b368fa0a

Modified Files
--------------
src/backend/utils/adt/tsquery.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread


end of thread, other threads:[~2021-08-25 02:51 UTC | newest]

Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-08-25 02:48 pgsql: Improve error message about valid value for distance in phrase o Fujii Masao <fujii@postgresql.org>
2021-08-25 02:49 pgsql: Improve error message about valid value for distance in phrase o Fujii Masao <fujii@postgresql.org>
2021-08-25 02:50 pgsql: Improve error message about valid value for distance in phrase o Fujii Masao <fujii@postgresql.org>
2021-08-25 02:50 pgsql: Improve error message about valid value for distance in phrase o Fujii Masao <fujii@postgresql.org>
2021-08-25 02:50 pgsql: Improve error message about valid value for distance in phrase o Fujii Masao <fujii@postgresql.org>
2021-08-25 02:51 pgsql: Improve error message about valid value for distance in phrase o Fujii Masao <fujii@postgresql.org>
2021-08-25 02:51 pgsql: Improve error message about valid value for distance in phrase o Fujii Masao <fujii@postgresql.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox