Fix shared tsvector/tsquery input code so that we don't say "syntax error in
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 21 Oct 2007 22:29:56 +0000 (22:29 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 21 Oct 2007 22:29:56 +0000 (22:29 +0000)
commit123a1484e4dd316b970cd7cd361f8859c2eab8e4
tree1ab1d3484962708b6bff10bffea970d7ef9e8dd6
parent2baa80a88361764310c4b2b1ba3c3d798b80078d
Fix shared tsvector/tsquery input code so that we don't say "syntax error in
tsvector" when we are really parsing a tsquery.  Report the bogus input,
too.  Make styles of some related error messages more consistent.
src/backend/utils/adt/tsquery.c
src/backend/utils/adt/tsvector.c
src/backend/utils/adt/tsvector_parser.c
src/include/tsearch/ts_utils.h