]> granicus.if.org Git - postgresql/commit
Fix crash of filter(tsvector)
authorTeodor Sigaev <teodor@sigaev.ru>
Wed, 4 May 2016 14:58:08 +0000 (17:58 +0300)
committerTeodor Sigaev <teodor@sigaev.ru>
Wed, 4 May 2016 14:58:08 +0000 (17:58 +0300)
commit4bbc1a7ea351f235eb9a4475ceb17d7e37a36473
tree20ab9485aec6ea349bcedf856ace105bf54318a3
parenta712487087c73eee880ff1a7c50528cbab2f1b90
Fix crash of filter(tsvector)

Variable storing a position of lexeme, had a wrong type: char, it's
obviously not enough to store 2^14 possible positions.

Stas Kelvich
src/backend/utils/adt/tsvector_op.c