postgresql/contrib/ltree
Tom Lane e07e2a40bd Improve error messages in ltree_in and lquery_in.
Ensure that the type name is mentioned in all cases (bare "syntax error"
isn't that helpful).  Avoid using the term "level", since that's not
used in the documentation.  Phrase error position reports as "at
character N" not "in position N"; the latter seems ambiguous, and it's
certainly not how we say it elsewhere.  For the same reason, make the
character position values be 1-based not 0-based.  Provide a position
in more cases.  (I continued to leave that out of messages complaining
about end-of-input, where it seemed pointless, as well as messages
complaining about overall input complexity, where fingering any one part
of the input would be arbitrary.)

Discussion: https://postgr.es/m/15582.1585529626@sss.pgh.pa.us
2020-03-31 11:14:42 -04:00
..
data
expected Improve error messages in ltree_in and lquery_in. 2020-03-31 11:14:42 -04:00
sql Improve error messages in ltree_in and lquery_in. 2020-03-31 11:14:42 -04:00
.gitignore Support "make check" in contrib 2011-04-25 22:27:11 +03:00
Makefile Implement operator class parameters 2020-03-30 19:17:23 +03:00
_ltree_gist.c Implement operator class parameters 2020-03-30 19:17:23 +03:00
_ltree_op.c Make DatumGetFoo/PG_GETARG_FOO/PG_RETURN_FOO macro names more consistent. 2017-09-18 15:21:23 -04:00
crc32.c Make the order of the header file includes consistent in contrib modules. 2019-10-24 08:05:34 +05:30
crc32.h Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
lquery_op.c Fix lquery's behavior for consecutive '*' items. 2020-03-28 18:31:05 -04:00
ltree--1.0--1.1.sql Update extensions with GIN/GIST support for parallel query. 2016-06-14 13:34:37 -04:00
ltree--1.1--1.2.sql Implement operator class parameters 2020-03-30 19:17:23 +03:00
ltree--1.1.sql Update extensions with GIN/GIST support for parallel query. 2016-06-14 13:34:37 -04:00
ltree.control Implement operator class parameters 2020-03-30 19:17:23 +03:00
ltree.h Implement operator class parameters 2020-03-30 19:17:23 +03:00
ltree_gist.c Implement operator class parameters 2020-03-30 19:17:23 +03:00
ltree_io.c Improve error messages in ltree_in and lquery_in. 2020-03-31 11:14:42 -04:00
ltree_op.c Protect against overflow of ltree.numlevel and lquery.numlevel. 2020-03-28 17:09:51 -04:00
ltreetest.sql Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
ltxtquery_io.c Remove useless "return;" lines 2019-11-28 16:48:37 -03:00
ltxtquery_op.c Clean up newlines following left parentheses 2020-01-30 13:42:14 -03:00