]> granicus.if.org Git - postgresql/commit
Fix oversight in tsearch type check
authorTeodor Sigaev <teodor@sigaev.ru>
Thu, 17 Sep 2015 16:50:51 +0000 (19:50 +0300)
committerTeodor Sigaev <teodor@sigaev.ru>
Thu, 17 Sep 2015 16:50:51 +0000 (19:50 +0300)
commit9acb9007de30b3daaa9efc16763c3bc6e3e0a92d
tree6ba21efa90048a78a7b3fcdb35c5502435fdd1e4
parent5f7c804ba155cc696297f06a819721f36a731181
Fix oversight in tsearch type check

Use IsBinaryCoercible() method instead of custom
is_expected_type/is_text_type functions which was introduced when tsearch2
was moved into core.

Per report by David E. Wheeler
Analysis by Tom Lane
Patch by me
src/backend/utils/adt/tsvector_op.c