pgsql: Fix crash of filter(tsvector)

From: Teodor Sigaev <teodor(at)sigaev(dot)ru>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix crash of filter(tsvector)
Date: 2016-05-04 14:58:51
Message-ID: E1axyGJ-0001A4-7T@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/4bbc1a7ea351f235eb9a4475ceb17d7e37a36473

Modified Files
--------------
src/backend/utils/adt/tsvector_op.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2016-05-04 18:11:20 pgsql: doc: Fix more typos
Previous Message Andres Freund 2016-05-04 08:59:04 pgsql: Fix transient mdsync() errors of truncated relations due to 72a9