BUG #5189: Postgres Crash when trying to ts_stat a empty tsvector - Mailing list pgsql-bugs

From Brice Maron
Subject BUG #5189: Postgres Crash when trying to ts_stat a empty tsvector
Date
Msg-id 200911151236.nAFCaVeN038643@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #5189: Postgres Crash when trying to ts_stat a empty tsvector
List pgsql-bugs
The following bug has been logged online:

Bug reference:      5189
Logged by:          Brice Maron
Email address:      bmaron@gmail.com
PostgreSQL version: 8.4.1
Operating system:   Ubunut Linux 9.10 (2.6.31-14)
Description:        Postgres Crash when trying to ts_stat a empty tsvector
Details:

Description :

When  i try to get ts_stats about a empty tsvector,
postgresql crash....

Reproduce it :

SELECT * FROM ts_stat('SELECT to_tsvector('''')');

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #5188: Inheritance: bug or feature?
Next
From: Andres Freund
Date:
Subject: Re: BUG #5189: Postgres Crash when trying to ts_stat a empty tsvector